1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-02 09:21:34 +02:00
dockerfiles/nextcloud/docker-compose.yml
2016-11-05 10:43:27 +08:00

20 lines
404 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
- ./ssl:/etc/nginx/ssl
volumes_from:
- nextcloud
net: host
restart: always