Replace nginx reverse proxy by traefik

This commit is contained in:
Paul-Henri Froidmont 2018-04-25 15:26:28 +02:00
parent fd30d66ffb
commit cfaa48e02a
30 changed files with 271 additions and 161 deletions

View file

@ -1,9 +1,9 @@
version: '2.2'
networks:
proxy-tier:
web:
external:
name: nginx-proxy
name: web
services:
searx:
@ -11,11 +11,13 @@ services:
environment:
- BASE_URL="https://banditlair.com"
- IMAGE_PROXY=True
- VIRTUAL_HOST=banditlair.com
- VIRTUAL_NETWORK=nginx-proxy
- VIRTUAL_PORT=8888
- LETSENCRYPT_HOST=banditlair.com,mail.banditlair.com,mailu.banditlair.com,webmail.banditlair.com,gitlab.banditlair.com,cloud.banditlair.com,plex.banditlair.com,deluge.banditlair.com,rpg.banditlair.com,matrix.banditlair.com,emby.banditlair.com,arch.banditlair.com,sonarr.banditlair.com,radarr.banditlair.com,headphones.banditlair.com,jackett.banditlair.com,nzbget.banditlair.com
- LETSENCRYPT_EMAIL=letsencrypt.account@banditlair.com
labels:
- "traefik.backend=searx"
- "traefik.docker.network=web"
- "traefik.frontend.rule=Host:banditlair.com"
- "traefik.enable=true"
- "traefik.port=8888"
- "traefik.default.protocol=http"
networks:
- proxy-tier
- web
restart: always

View file

@ -1,2 +1,2 @@
dependencies:
- nginx-proxy-docker
- traefik-proxy-docker