diff --git a/nextcloud/docker-compose.yaml b/nextcloud/docker-compose.yaml index 27e0c5d..66f2bcf 100644 --- a/nextcloud/docker-compose.yaml +++ b/nextcloud/docker-compose.yaml @@ -3,12 +3,12 @@ version: "3" services: web: - #nginx container - build: ./web + image: nginx depends_on: - app volumes: - ${VOLUMES_PATH}/nextcloud_html:/var/www/html:ro + - $PWD/nginx.conf:/etc/nginx/nginx.conf:ro restart: unless-stopped networks: - web diff --git a/nextcloud/web/nginx.conf b/nextcloud/nginx.conf similarity index 100% rename from nextcloud/web/nginx.conf rename to nextcloud/nginx.conf diff --git a/nextcloud/web/Dockerfile b/nextcloud/web/Dockerfile deleted file mode 100644 index b846f21..0000000 --- a/nextcloud/web/Dockerfile +++ /dev/null @@ -1,2 +0,0 @@ -FROM nginx:alpine -COPY nginx.conf /etc/nginx/nginx.conf