diff --git a/docker-compose.yml b/docker-compose.yml index b6d8391..5364b66 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: image: nextcloud:fpm-alpine restart: always volumes: - - /opt/appdata/nextcloud:/var/www/html + - /opt/appdata/nextcloud/www:/var/www/html environment: - MYSQL_HOST=db - REDIS_HOST=redis @@ -52,7 +52,8 @@ services: ports: - 8080:80 volumes: - - /opt/appdata/nextcloud:/var/www/html:ro + - /opt/appdata/nextcloud/www:/var/www/html:ro + - /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro depends_on: - app networks: @@ -64,7 +65,7 @@ services: image: nextcloud:fpm-alpine restart: always volumes: - - /opt/appdata/nextcloud:/var/www/html + - /opt/appdata/nextcloud/www:/var/www/html entrypoint: /cron.sh depends_on: - db