From 61679c5ddccaedc6e6e8f2f9aa716e2cde6e95bc Mon Sep 17 00:00:00 2001 From: Per Magnus Petersen Date: Thu, 10 Sep 2026 16:16:03 +0200 Subject: [PATCH] env.example --- env.example | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 env.example diff --git a/env.example b/env.example new file mode 100644 index 0000000..2ac7830 --- /dev/null +++ b/env.example @@ -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=