Document Postgres on citadel, drop stale omarchy references
The database moved to citadel (192.168.50.195); .env and the deployed container already point there, but env.example still handed out the old omarchy address. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EWRh3vxBcqwDbuWv2dfQYF
This commit is contained in:
@@ -37,7 +37,7 @@ Docker runs alongside local dev on different ports and databases:
|
|||||||
- **Framework:** Kit (Integrant-based)
|
- **Framework:** Kit (Integrant-based)
|
||||||
- **Server:** Undertow
|
- **Server:** Undertow
|
||||||
- **Routing:** Reitit
|
- **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)
|
- **Port:** 4100 (env: BTCDATA_PORT)
|
||||||
- **CORS:** Configured via CORS_ORIGIN env var
|
- **CORS:** Configured via CORS_ORIGIN env var
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -20,10 +20,10 @@ STRIKE_ENABLED=false
|
|||||||
KRAKEN_ENABLED=false
|
KRAKEN_ENABLED=false
|
||||||
|
|
||||||
# --- Docker (docker compose up -d) ---
|
# --- Docker (docker compose up -d) ---
|
||||||
# Runs alongside local dev on its own port. `postgres` resolves to the Docker
|
# Runs alongside local dev on its own port. Points at the Postgres on citadel
|
||||||
# host via extra_hosts: host-gateway.
|
# (192.168.50.195) directly, so it works from any host that can reach that LAN.
|
||||||
DOCKER_BTCDATA_PORT=4102
|
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_CORS_ORIGIN=http://localhost:4041
|
||||||
DOCKER_FRANKFURTER_URL=http://frankfurter:8080
|
DOCKER_FRANKFURTER_URL=http://frankfurter:8080
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user