-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
78 lines (69 loc) · 3.5 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
78 lines (69 loc) · 3.5 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
services:
scrob-db:
container_name: scrob-db
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_USER: scrob
POSTGRES_PASSWORD: changeme
POSTGRES_DB: scrob
volumes:
- db_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U scrob -d scrob"]
interval: 5s
timeout: 5s
retries: 10
scrob:
container_name: scrob
image: bellamy/scrob:latest
restart: unless-stopped
depends_on:
scrob-db:
condition: service_healthy
ports:
- "7330:7330"
environment:
# ── Database ────────────────────────────────────────────────────────────
DATABASE_URL: postgresql+asyncpg://scrob:changeme@scrob-db:5432/scrob
# ── Security ────────────────────────────────────────────────────────────
# Generate with: openssl rand -hex 32
SECRET_KEY: changeme
# ── Registrations ────────────────────────────────────────────────────────
# Registrations are disabled by default. Set to true to allow additional users.
# ENABLE_REGISTRATIONS: "true"
# REGISTRATION_MAX_ALLOWED_USERS: "0" # 0 = unlimited
# ── Nuvio (optional) ───────────────────────────────────────────────────
# Set this to the anon/public key when using a self-hosted Nuvio backend.
# NUVIO_APP_ANON_KEY: ""
# ── ARVIO (optional) ────────────────────────────────────────────────────
# Overrides the embedded public anon key for auth.arvio.tv. Leave unset
# to use the official key.
# ARVIO_APP_ANON_KEY: ""
# ── OIDC (optional) ─────────────────────────────────────────────────────
# OIDC_ENABLED: "false"
# OIDC_PROVIDER_NAME: SSO
# OIDC_CLIENT_ID: ""
# OIDC_CLIENT_SECRET: ""
# OIDC_AUTH_URL: ""
# OIDC_TOKEN_URL: ""
# OIDC_USERINFO_URL: ""
# OIDC_REDIRECT_URL: http://your-server:7330/oidc-callback
# OIDC_LOGOUT_URL: ""
# OIDC_SCOPES: "openid email profile"
# OIDC_IDENTIFIER_FIELD: email
# OIDC_AUTO_CREATE_USERS: "true"
# OIDC_DISABLE_PASSWORD_LOGIN: "false"
# ── User & timezone ──────────────────────────────────────────────────────
# Run the process as a specific user/group (defaults to 1000:1000)
# PUID: "1000"
# PGID: "1000"
TZ: UTC
# ── Advanced ─────────────────────────────────────────────────────────────
# Override the internal backend port (only needed if 7331 conflicts on bare metal installations)
# BACKEND_PORT: "7331"
volumes:
- scrob_data:/app/backend/data
volumes:
db_data:
scrob_data: