env.example
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
|||||||
|
# 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. `postgres` resolves to the Docker
|
||||||
|
# host via extra_hosts: host-gateway.
|
||||||
|
DOCKER_BTCDATA_PORT=4102
|
||||||
|
DOCKER_JDBC_URL=jdbc:postgresql://postgres:5432/btcprod?user=postgres&password=changeme
|
||||||
|
DOCKER_CORS_ORIGIN=http://localhost:4041
|
||||||
|
DOCKER_FRANKFURTER_URL=http://frankfurter:8080
|
||||||
|
|
||||||
|
# --- Strike ---
|
||||||
|
STRIKE_API_KEY=
|
||||||
Reference in New Issue
Block a user