Bind nginx.conf to nextcloud nginx instead of build container

This commit is contained in:
Florian Zirker 2021-01-09 17:09:55 +01:00
parent 05f7cbc1af
commit 1ff2d4cc00
3 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -1,2 +0,0 @@
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf