restructure services based on host machine
This commit is contained in:
2
nuc/whoogle/.env.example
Normal file
2
nuc/whoogle/.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
# DOMAIN_ROOT is the root domain that this service will register as with Traefik
|
||||
DOMAIN_ROOT=domain.tld
|
19
nuc/whoogle/docker-compose.yml
Normal file
19
nuc/whoogle/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
whoogle:
|
||||
image: benbusby/whoogle-search:latest
|
||||
container_name: whoogle
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
- web
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.whoogle.rule=Host(`whoogle.${DOMAIN_ROOT}`)"
|
||||
- "traefik.http.services.whoogle.loadbalancer.server.port=5000"
|
||||
- 'traefik.http.routers.whoogle.middlewares=authelia@docker'
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
Reference in New Issue
Block a user