mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: enable dashboard for zilean
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ZILEAN_HOSTNAME=
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user