Bind nginx.conf to nextcloud nginx instead of build container
This commit is contained in:
parent
05f7cbc1af
commit
1ff2d4cc00
3 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
FROM nginx:alpine
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
Loading…
Reference in a new issue