mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
35 lines
795 B
YAML
35 lines
795 B
YAML
version: '3'
|
|
services:
|
|
jellystat-db:
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: mypassword
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
jellystat:
|
|
image: jellystat
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: mypassword
|
|
POSTGRES_IP: jellystat-db
|
|
POSTGRES_PORT: 5432
|
|
JWT_SECRET: 'my-secret-jwt-key'
|
|
TZ: Africa/Johannesburg
|
|
volumes:
|
|
- jellystat-backup-data:/app/backend/backup-data
|
|
ports:
|
|
- "3000:3000"
|
|
depends_on:
|
|
- jellystat-db
|
|
networks:
|
|
default:
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-file: "5" # number of files or file count
|
|
max-size: "10m" # file size
|
|
|
|
volumes:
|
|
postgres-data:
|
|
jellystat-backup-data: |