0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 19:05:09 +01:00

proxy-mariadb-fpm nobuild

Signed-off-by: rush <github@avaika.me>
This commit is contained in:
rush 2018-11-29 14:31:38 +03:00
parent f6e90b2e12
commit 79a39fef8f
5 changed files with 5 additions and 8 deletions

View file

@ -25,7 +25,7 @@ services:
- 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
@ -33,6 +33,8 @@ services:
- VIRTUAL_HOST= - VIRTUAL_HOST=
- LETSENCRYPT_HOST= - LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL= - LETSENCRYPT_EMAIL=
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
depends_on: depends_on:
- app - app
networks: networks:
@ -40,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
@ -52,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

View file

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

View file

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