# ------------------------------------------------------------------ # 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 (append ? to make optional) # file://path/to/file → load file contents (relative to config.json unless absolute) # This file is therefore just an example of the required secrets pointed to by config.json. # ------------------------------------------------------------------ # ─────────────────────────────────────────────────────────────── # Required secrets referenced by config.json # ─────────────────────────────────────────────────────────────── POSTGRES_URL=postgres://colanode_user:postgrespass123@localhost:5432/colanode_db REDIS_URL=redis://:your_valkey_password@localhost:6379/0 # ─────────────────────────────────────────────────────────────── # Optional: PostgreSQL TLS (used if config.json points to env://POSTGRES_SSL_*) # ─────────────────────────────────────────────────────────────── # POSTGRES_SSL_CA= # POSTGRES_SSL_KEY= # POSTGRES_SSL_CERT= # ─────────────────────────────────────────────────────────────── # Optional: Google OAuth (account.google.* section) # ─────────────────────────────────────────────────────────────── # ACCOUNT_GOOGLE_CLIENT_ID= # ACCOUNT_GOOGLE_CLIENT_SECRET= # ─────────────────────────────────────────────────────────────── # Optional: Email configuration (email section) # ─────────────────────────────────────────────────────────────── # EMAIL_FROM= # EMAIL_SMTP_HOST= # EMAIL_SMTP_USER= # EMAIL_SMTP_PASSWORD=