mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-16 11:25:09 +01:00
proxy-postgres-fpm nobuild
Signed-off-by: rush <github@avaika.me>
This commit is contained in:
parent
ceba099589
commit
6f7b611984
6 changed files with 8 additions and 9 deletions
|
@ -1,3 +1,2 @@
|
||||||
POSTGRES_PASSWORD=
|
POSTGRES_PASSWORD=
|
||||||
POSTGRES_DB=nextcloud
|
|
||||||
POSTGRES_USER=nextcloud
|
POSTGRES_USER=nextcloud
|
||||||
|
|
|
@ -6,6 +6,9 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
# workaround for https://github.com/nextcloud/docker/issues/345
|
||||||
|
- POSTGRES_DB=deleteme
|
||||||
env_file:
|
env_file:
|
||||||
- db.env
|
- db.env
|
||||||
|
|
||||||
|
@ -16,16 +19,18 @@ services:
|
||||||
- nextcloud:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_HOST=db
|
- POSTGRES_HOST=db
|
||||||
|
- POSTGRES_DB=nextcloud
|
||||||
env_file:
|
env_file:
|
||||||
- db.env
|
- db.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:ro
|
- nextcloud:/var/www/html:ro
|
||||||
|
- ./configs/nginx.conf:/etc/nginx/nginx.conf
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
@ -37,7 +42,7 @@ services:
|
||||||
- default
|
- default
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./proxy
|
image: jwilder/nginx-proxy:alpine
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
@ -49,6 +54,7 @@ services:
|
||||||
- vhost.d:/etc/nginx/vhost.d
|
- vhost.d:/etc/nginx/vhost.d
|
||||||
- html:/usr/share/nginx/html
|
- html:/usr/share/nginx/html
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
- ./configs/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf
|
||||||
networks:
|
networks:
|
||||||
- proxy-tier
|
- proxy-tier
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM jwilder/nginx-proxy:alpine
|
|
||||||
|
|
||||||
COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
Loading…
Add table
Reference in a new issue