docker-compose/thinkcentre/nextcloud/docker-compose.yml
2024-03-26 16:06:45 +01:00

32 lines
604 B
YAML

version: '2'
services:
app:
container_name: nextcloud
image: nextcloud
restart: always
ports:
- 8080:80
volumes:
- app:/var/www/html
- /mnt/data/nextcloud/files:/var/www/html/data
- /mnt/data/nextcloud/config:/var/www/html/config
environment:
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_HOST=${MYSQL_HOST}
networks:
- mariadb_default
- proxy
networks:
mariadb_default:
external: true
proxy:
name: proxy
external: true
volumes:
app: