docker-nextcloud-stack/docker-compose.yml
yohan ed1f45e8ed Updated Nextcloud version.
Added reverse proxy configuration.
Added optional Nextcloud objectstore configuration.
Added Nextcloud mime configuration.
Added Nextcloud https configuration.
Fixed elasticsearch getting killed when "stop" or "down" is used: due to a docker bug, the new script stop.sh, must be used instead.
2019-12-04 21:41:54 +01:00

36 lines
599 B
YAML

version: "2.1"
services:
nextcloud:
container_name: nextcloud-full
image: nextcloud:16.0.6
build: ./docker/.examples/dockerfiles/full/apache/
restart: unless-stopped
networks:
- reverse-proxy
- mysqlnet
- mailnet
expose:
- "80/tcp"
volumes:
- nextcloud:/var/www/html:Z
- ./supervisord.conf:/etc/supervisor/supervisord.conf
- ./run_elasticsearch.sh:/run_elasticsearch.sh
networks:
reverse-proxy:
external: true
mysqlnet:
external: true
mailnet:
external: true
volumes:
nextcloud:
external: true