docker-compose/nextcloud/docker-compose.yml

29 lines
508 B
YAML
Raw Normal View History

2022-12-24 03:38:43 +02:00
version: '2'
volumes:
app:
services:
app:
container_name: nextcloud
2022-12-24 03:38:43 +02:00
image: nextcloud
restart: always
ports:
- 8080:80
volumes:
- app:/var/www/html
- /mnt/data/nextcloud:/var/www/html/data
2022-12-24 03:38:43 +02:00
environment:
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_HOST=${MYSQL_HOST}
networks:
default:
name: mariadb_default
external: true
proxy:
name: proxy
external: true