Skip to content

Commit 843888b

Browse files
committedSep 15, 2024
add jellystat
1 parent 9dd744f commit 843888b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
 

‎docker/jellyfin/docker-compose.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,27 @@ services:
5454
- 22000:22000/udp
5555
- 21027:21027/udp
5656
restart: unless-stopped
57+
58+
jellystat-db:
59+
image: postgres:15.2
60+
environment:
61+
POSTGRES_DB: 'jfstat'
62+
POSTGRES_USER: postgres
63+
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
64+
volumes:
65+
- /docker/appdata/jellystat/postgres-data:/var/lib/postgresql/data
66+
jellystat:
67+
image: cyfershepard/jellystat:1.1.0
68+
environment:
69+
POSTGRES_USER: postgres
70+
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
71+
POSTGRES_IP: jellystat-db
72+
POSTGRES_PORT: 5432
73+
JWT_SECRET: $JWT_SECRET
74+
ports:
75+
- "3000:3000"
76+
volumes:
77+
- /docker/appdata/jellystat/backup-data:/app/backend/backup-data
78+
depends_on:
79+
- jellystat-db
80+
restart: unless-stopped

0 commit comments

Comments
 (0)
Please sign in to comment.