mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add nginx-proxy and searx roles
This commit is contained in:
parent
7d8e261f6d
commit
2bf0228e9b
15 changed files with 102 additions and 11 deletions
7
roles/searx-docker/files/searx/.env
Normal file
7
roles/searx-docker/files/searx/.env
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
COMPOSE_PROJECT_NAME=searx
|
||||
|
||||
#Domains
|
||||
DOMAIN=banditlair.com
|
||||
|
||||
#Letsencrypt
|
||||
LETSENCRYPT_EMAIL=letsencrypt.account@banditlair.com
|
||||
21
roles/searx-docker/files/searx/docker-compose.yml
Normal file
21
roles/searx-docker/files/searx/docker-compose.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue