forked from CyferShepard/Jellystat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (38 loc) · 952 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3'
services:
jellystat-db:
image: postgres:15.2
container_name: jellystat-db
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mypassword
volumes:
- postgres-data:/var/lib/postgresql/data
jellystat:
image: cyfershepard/jellystat:latest
container_name: jellystat
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mypassword
POSTGRES_IP: jellystat-db
POSTGRES_PORT: 5432
JWT_SECRET: "my-secret-jwt-key"
TZ: mytimezone # timezone (ex: Europe/Paris)
volumes:
- jellystat-backup-data:/app/backend/backup-data
ports:
- "3000:3000"
depends_on:
- jellystat-db
networks:
default:
volumes:
postgres-data:
jellystat-backup-data:
logging:
driver: "json-file"
options:
max-file: "5" # number of files or file count
max-size: "10m" # file size