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
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
# Copy to .env and fill in. .env is gitignored — never commit real credentials.
|
|
|
|
# --- Postgres (only used if you run a Postgres container from this compose file) ---
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=changeme
|
|
POSTGRES_DB=btcprod
|
|
PGPORT=5432
|
|
|
|
# --- Local dev (make run) ---
|
|
# The only required variable. No default in system.edn — the app won't start without it.
|
|
JDBC_URL=jdbc:postgresql://localhost:5432/btcprice?user=postgres&password=changeme
|
|
BTCDATA_PORT=4100
|
|
CORS_ORIGIN=http://localhost:4000
|
|
FRANKFURTER_URL=https://api.frankfurter.dev
|
|
|
|
# Pollers. Leave false when developing against a shared database so you don't
|
|
# write duplicate rows alongside the deployed instance.
|
|
BINANCE_ENABLED=false
|
|
STRIKE_ENABLED=false
|
|
KRAKEN_ENABLED=false
|
|
|
|
# --- Docker (docker compose up -d) ---
|
|
# 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://192.168.50.195:5432/btcprod?user=postgres&password=changeme
|
|
DOCKER_CORS_ORIGIN=http://localhost:4041
|
|
DOCKER_FRANKFURTER_URL=http://frankfurter:8080
|
|
|
|
# --- Strike ---
|
|
STRIKE_API_KEY=
|