Skip to content

Commit

Permalink
Merge pull request #103 from Fauzanmhr/patch-1
Browse files Browse the repository at this point in the history
Update compose-fullstacksample.yaml to use PostgreSQL for latest Zilean
  • Loading branch information
g0ldyy authored Aug 16, 2024
2 parents c43aff1 + 7dbf6fa commit cf65182
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions compose-fullstacksample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,38 @@ services:
environment:
Zilean__ElasticSearch__Url: http://elasticsearch:9200
Zilean__Dmm__MinimumScoreMatch: 40
Zilean__Database__ConnectionString: Host=postgres;Port=5432;Database=zilean;Username=postgres;Password=postgres
# Zilean__Dmm__ImportBatched: true # Uncomment to enable batched import - this is for low end systems.
networks:
proxy:
healthcheck:
test: curl --connect-timeout 10 --silent --show-error --fail http://zilean:8181/healthchecks/ping
timeout: 60s
interval: 30s
retries: 10

# This is database for zilean
postgres:
image: postgres:16.3-alpine3.20
container_name: postgres
restart: unless-stopped
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
volumes:
- pg-data:/var/lib/postgresql/data/pgdata
networks:
proxy:
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5

# This is required for the DMM Scraper (Zilean)
elasticsearch:
image: elasticsearch:8.14.1
Expand Down Expand Up @@ -192,4 +217,5 @@ volumes:
warp_data:
jackett_data:
prowlarr_data:
pg-data:

0 comments on commit cf65182

Please sign in to comment.