feat: enable dashboard for zilean

This commit is contained in:
Viren070
2025-04-08 22:49:21 +01:00
parent 8c4ce70cfc
commit 0a9d9a4107
2 changed files with 21 additions and 7 deletions
+1
View File
@@ -0,0 +1 @@
ZILEAN_HOSTNAME=
+20 -7
View File
@@ -4,22 +4,35 @@ services:
restart: unless-stopped
container_name: zilean
tty: true
expose:
- 8181
environment:
Zilean__EnableDashboard: true
Zilean__Database__ConnectionString: Host=zilean_postgres;Database=zilean;Username=zilean;Password=postgres;Include Error Detail=true;Timeout=30;CommandTimeout=3600
Zilean__Imdb__UseAllCores: true
Zilean__Imdb__UseLucene: true
Zilean__Parsing__BatchSize: 100000
Zilean__Dmm_ScrapeSchedule: 32 * * * *
healthcheck:
test: curl --connect-timeout 10 --silent --show-error --fail http://localhost:8181/healthchecks/ping
timeout: 60s
interval: 30s
retries: 10
labels:
- "traefik.enable=true"
- "traefik.http.routers.zilean.rule=Host(`${ZILEAN_HOSTNAME?}`)"
- "traefik.http.routers.zilean.entrypoints=websecure"
- "traefik.http.routers.zilean.tls.certresolver=letsencrypt"
- "traefik.http.routers.zilean.middlewares=authelia@docker"
- "traefik.http.services.zilean.loadbalancer.server.port=8181"
- "flame.type=app"
- "flame.name=Zilean"
- "flame.url=https://${ZILEAN_HOSTNAME?}"
volumes:
- ${DOCKER_DATA_DIR}/zilean/tmp:/tmp
depends_on:
zilean_postgres:
condition: service_healthy
volumes:
- ${DOCKER_DATA_DIR}/zilean/tmp:/tmp
healthcheck:
test: curl --connect-timeout 10 --silent --show-error --fail http://localhost:8181/healthchecks/ping
timeout: 60s
interval: 30s
retries: 10
profiles:
- zilean
- stremio