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:
|
services:
|
||||||
|
|
||||||
web:
|
web:
|
||||||
#nginx container
|
image: nginx
|
||||||
build: ./web
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
volumes:
|
volumes:
|
||||||
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html:ro
|
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html:ro
|
||||||
|
- $PWD/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
Loading…
Reference in a new issue