1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/nextcloud/docker-compose.yml
2016-11-03 10:30:36 +08:00

19 lines
377 B
YAML

nextcloud:
image: indiehosters/nextcloud
ports:
- "127.0.0.1:9000:9000"
volumes:
- ./data/apps:/var/www/html/apps
- ./data/config:/var/www/html/config
- ./data/data:/var/www/html/data
restart: always
nginx:
image: nginx:alpine
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
volumes_from:
- nextcloud
net: host
restart: always