add jellystat

This commit is contained in:
Matt Reeves 2024-09-15 19:47:12 -04:00
parent 9dd744f896
commit 843888b13e

View file

@ -54,3 +54,27 @@ services:
- 22000:22000/udp - 22000:22000/udp
- 21027:21027/udp - 21027:21027/udp
restart: unless-stopped restart: unless-stopped
jellystat-db:
image: postgres:15.2
environment:
POSTGRES_DB: 'jfstat'
POSTGRES_USER: postgres
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
volumes:
- /docker/appdata/jellystat/postgres-data:/var/lib/postgresql/data
jellystat:
image: cyfershepard/jellystat:1.1.0
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_IP: jellystat-db
POSTGRES_PORT: 5432
JWT_SECRET: $JWT_SECRET
ports:
- "3000:3000"
volumes:
- /docker/appdata/jellystat/backup-data:/app/backend/backup-data
depends_on:
- jellystat-db
restart: unless-stopped