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,7 @@
COMPOSE_PROJECT_NAME=searx
#Domains
DOMAIN=banditlair.com
#Letsencrypt
LETSENCRYPT_EMAIL=letsencrypt.account@banditlair.com

View file

@ -0,0 +1,21 @@
version: '2.2'
networks:
proxy-tier:
external:
name: nginx-proxy
services:
searx:
image: wonderfall/searx
environment:
- BASE_URL="https://${DOMAIN}"
- IMAGE_PROXY=True
- VIRTUAL_HOST=${DOMAIN}
- VIRTUAL_NETWORK=nginx-proxy
- VIRTUAL_PORT=8888
- LETSENCRYPT_HOST=${DOMAIN},mail.banditlair.com,gitlab.banditlair.com,grafana.banditlair.com,cloud.banditlair.com,office.banditlair.com,plex.banditlair.com,sonar.banditlair.com,deluge.banditlair.com,rpg.banditlair.com,matrix.banditlair.com,emby.banditlair.com
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
networks:
- proxy-tier
restart: always