mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-17 18:46:43 +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
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
@ -28,12 +28,13 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
@ -33,10 +33,11 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
@ -28,10 +28,11 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
Loading…
Reference in a new issue