Add nginx-proxy and searx roles

This commit is contained in:
Paul-Henri Froidmont 2017-12-20 08:25:45 +01:00
parent 7d8e261f6d
commit 2bf0228e9b
15 changed files with 102 additions and 11 deletions

View file

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=proxy

View file

@ -0,0 +1,33 @@
version: '2.2'
networks:
proxy-tier:
external:
name: nginx-proxy
services:
nginx:
image: jwilder/nginx-proxy
ports:
- 80:80
- 443:443
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/vhost.d:/etc/nginx/vhost.d
- ./nginx/html:/usr/share/nginx/html
- ./nginx/certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
restart: always
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
# environment:
# - DEBUG=true
volumes_from:
- nginx
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./nginx/certs:/etc/nginx/certs:rw
restart: always

View file

@ -0,0 +1 @@
client_max_body_size 10G;