docker-compose/nextcloud/docker-compose.yml

32 lines
604 B
YAML
Raw Normal View History

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:
2024-03-26 17:06:45 +02:00
- mariadb_default
- proxy
networks:
2024-03-26 17:06:45 +02:00
mariadb_default:
external: true
proxy:
name: proxy
external: true
volumes:
app: