diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-17 15:25:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-17 15:25:52 +0300 |
| commit | 914bd7cd6aa14e839332a98d91c30b19865b0cf2 (patch) | |
| tree | 02b11537237a204048589e14ed24938b805e42f7 /docs/configuration.md | |
| parent | 3b24f0e1be832584d6550e8cc3e5d24329f66f90 (diff) | |
Restructure repo: move Go server into player-server/
Diffstat (limited to 'docs/configuration.md')
| -rw-r--r-- | docs/configuration.md | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docs/configuration.md b/docs/configuration.md deleted file mode 100644 index 60d6ad6..0000000 --- a/docs/configuration.md +++ /dev/null @@ -1,19 +0,0 @@ -Configuration -============= - -All settings are environment variables. Unset variables use defaults. - -| Variable | Default | Validation | Description | -|----------|---------|------------|-------------| -| `PORT` | `8080` | 0–65535 | HTTP listen port (0 = ephemeral, used in tests) | -| `MEDIA_ROOT` | `./media` | — | Root path for media set directories | -| `DB_PATH` | `data.db` | — | SQLite database file path | -| `MAX_UPLOAD_SIZE_MB` | `100` | ≥ 1 | Max upload size per file (MB) | -| `SESSION_TIMEOUT_HOURS` | `24` | ≥ 1 | Cookie / session expiry | -| `GC_INTERVAL_MINUTES` | `30` | ≥ 1 | Garbage collector tick interval | -| `SHARE_DEFAULT_EXPIRY_DAYS` | `7` | ≥ 1 | Default share link lifetime | -| `PODCAST_CHECK_INTERVAL_MINUTES` | `60` | ≥ 1 | Podcast feed refresh interval | -| `LOG_LEVEL` | `info` | `debug` / `info` / `warn` / `error` | Log verbosity | -| `SECURE_COOKIES` | `true` | `true` / `false` | Set `Secure` flag on session cookies; set to `false` for plain-HTTP local deployments | - -**Important:** The K8s `Deployment` overrides `DB_PATH` to `/data/media.db` and `MEDIA_ROOT` to `/media` so the PVC mounts are used. Do not rely on the local defaults in a container.
\ No newline at end of file |
