diff --git a/CLAUDE.md b/CLAUDE.md index 026d229..d8ca15b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -14,7 +14,7 @@ Arcane project `content`: `/mnt/fast/arcane/projects/content/compose.yaml`. That |---|---|---| | Image | `192.168.1.130:5000/ipodderx:latest` | | | Config | `/mnt/fast/appdata/ipodderx/config.toml` | `/config/config.toml` | -| Database | Postgres 18, database `ipodderx`, login `ipodderx`, on the `postgres` container of the Arcane project `databases` (`192.168.1.130:5433`). The URL is in `/mnt/fast/appdata/ipodderx/database.env` (root-only), passed to the container as `IPX_DATABASE_URL` | | +| Database | Postgres 18, database `ipodderx`, login `ipodderx`, on the `postgres` container of the Arcane project `databases` (`192.168.1.130:5433`). The URL is in `ipodderx.env` beside the compose file (`/mnt/fast/arcane/projects/content/ipodderx.env`, mode 600), passed to the container as `IPX_DATABASE_URL`. A relative `env_file`: Arcane runs compose in its own container, where `/mnt/fast/appdata` does not exist | | | Old database | `/mnt/user/ipodderx/state.db`, SQLite, used until the move to Postgres on 2026-09-18 and kept for rollback | `/data/state.db` | | Downloads | `/mnt/user/ipodderx/downloads` | `/downloads` | | Web UI | `192.168.1.130:8099`, also `ipodderx.sdf1.net` via a Cloudflare tunnel | `0.0.0.0:8099` | diff --git a/docker-compose.yml b/docker-compose.yml index 4280c41..aee2264 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: IPX_LOG: "ipx=info" # IPX_DATABASE_URL=postgres://... to use Postgres; without it, /data/state.db (SQLite). env_file: - - /mnt/fast/appdata/ipodderx/database.env + - ipodderx.env # relative: Arcane resolves it inside its own container ports: - "8099:8099" # web UI - "6881:6881/tcp" # BitTorrent peers