0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-19 19:46:42 +01:00

replace build image with bind mount

Signed-off-by: SebastianRzk <github@sebastianruziczka.de>
This commit is contained in:
SebastianRzk 2024-08-18 16:49:24 +02:00
parent 65138b6d22
commit b6c983426c
12 changed files with 8 additions and 16 deletions

View file

@ -33,12 +33,13 @@ services:
- redis
web:
build: ./web
image: nginx:alpine
restart: always
ports:
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html:z,ro
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- app

View file

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

View file

@ -28,12 +28,13 @@ services:
- redis
web:
build: ./web
image: nginx:alpine
restart: always
ports:
- 127.0.0.1:8080:80
volumes:
- nextcloud:/var/www/html:z,ro
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- app

View file

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

View file

@ -33,10 +33,11 @@ services:
- redis
web:
build: ./web
image: nginx:alpine
restart: always
volumes:
- nextcloud:/var/www/html:z,ro
- ./nginx.conf:/etc/nginx/nginx.conf
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=

View file

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

View file

@ -28,10 +28,11 @@ services:
- redis
web:
build: ./web
image: nginx:alpine
restart: always
volumes:
- nextcloud:/var/www/html:z,ro
- ./nginx.conf:/etc/nginx/nginx.conf
environment:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=

View file

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