# ------------------------------------------------------------------
# Example .env for Colanode Server
# ------------------------------------------------------------------
# Configuration now comes exclusively from config.json. Environment
# variables are only read when config.json references them via pointers.
# Use: env://VAR_NAME       → load from env
# ------------------------------------------------------------------

# ───────────────────────────────────────────────────────────────
# Required secrets referenced by default configurations
# ───────────────────────────────────────────────────────────────
POSTGRES_URL=postgres://colanode_user:postgrespass123@localhost:5432/colanode_db
REDIS_URL=redis://:your_valkey_password@localhost:6379/0

# Create a config.local.json (you can copy see an example in config.example.json)
# and add the following line to use it when running locally
# CONFIG=./config.local.json