mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-16 11:25:09 +01:00
proxy-mariadb-fpm nobuild
Signed-off-by: rush <github@avaika.me>
This commit is contained in:
parent
f6e90b2e12
commit
79a39fef8f
5 changed files with 5 additions and 8 deletions
|
@ -25,7 +25,7 @@ services:
|
|||
- db
|
||||
|
||||
web:
|
||||
build: ./web
|
||||
image: nginx:alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- nextcloud:/var/www/html:ro
|
||||
|
@ -33,6 +33,8 @@ services:
|
|||
- VIRTUAL_HOST=
|
||||
- LETSENCRYPT_HOST=
|
||||
- LETSENCRYPT_EMAIL=
|
||||
volumes:
|
||||
- ./config/nginx.conf:/etc/nginx/nginx.conf
|
||||
depends_on:
|
||||
- app
|
||||
networks:
|
||||
|
@ -40,7 +42,7 @@ services:
|
|||
- default
|
||||
|
||||
proxy:
|
||||
build: ./proxy
|
||||
image: jwilder/nginx-proxy:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
|
@ -52,6 +54,7 @@ services:
|
|||
- vhost.d:/etc/nginx/vhost.d
|
||||
- html:/usr/share/nginx/html
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./configs/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf
|
||||
networks:
|
||||
- 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