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:
parent
65138b6d22
commit
b6c983426c
12 changed files with 8 additions and 16 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
@ -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=
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
@ -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=
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
FROM nginx:alpine
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
Loading…
Reference in a new issue