mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
32 lines
787 B
YAML
32 lines
787 B
YAML
services:
|
|
zilean:
|
|
image: ipromknight/zilean:latest
|
|
restart: unless-stopped
|
|
container_name: zilean
|
|
tty: true
|
|
environment:
|
|
Zilean__Database__ConnectionString: Host=postgres;Database=zilean;Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD};Include Error Detail=true;Timeout=30;CommandTimeout=3600
|
|
Zilean__Imdb__UseAllCores: true
|
|
Zilean__Imdb__UseLucene: true
|
|
healthcheck:
|
|
test: curl --connect-timeout 10 --silent --show-error --fail http://localhost:8181/healthchecks/ping
|
|
timeout: 60s
|
|
interval: 30s
|
|
retries: 10
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
volumes:
|
|
- ./data/zilean/tmp:/tmp
|
|
networks:
|
|
- addon_network
|
|
|
|
|
|
|
|
|
|
networks:
|
|
addon_network:
|
|
external: true
|
|
|
|
|
|
|