diff --git a/CLAUDE.md b/CLAUDE.md index bdcc326..9f904d5 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -37,7 +37,7 @@ Docker runs alongside local dev on different ports and databases: - **Framework:** Kit (Integrant-based) - **Server:** Undertow - **Routing:** Reitit -- **Database:** PostgreSQL + conman + Migratus +- **Database:** PostgreSQL + conman + Migratus — the Postgres lives on **citadel** (`192.168.50.195:5432`); `btcprice` for local dev, `btcprod` for the deployed container - **Port:** 4100 (env: BTCDATA_PORT) - **CORS:** Configured via CORS_ORIGIN env var diff --git a/env.example b/env.example index 2ac7830..6027f85 100644 --- a/env.example +++ b/env.example @@ -20,10 +20,10 @@ STRIKE_ENABLED=false KRAKEN_ENABLED=false # --- Docker (docker compose up -d) --- -# Runs alongside local dev on its own port. `postgres` resolves to the Docker -# host via extra_hosts: host-gateway. +# Runs alongside local dev on its own port. Points at the Postgres on citadel +# (192.168.50.195) directly, so it works from any host that can reach that LAN. DOCKER_BTCDATA_PORT=4102 -DOCKER_JDBC_URL=jdbc:postgresql://postgres:5432/btcprod?user=postgres&password=changeme +DOCKER_JDBC_URL=jdbc:postgresql://192.168.50.195:5432/btcprod?user=postgres&password=changeme DOCKER_CORS_ORIGIN=http://localhost:4041 DOCKER_FRANKFURTER_URL=http://frankfurter:8080