2025-05-14 15:51:32 +00:00
|
|
|
# ── PostgreSQL Database Settings ─────────────────────────────────────────────
|
2025-05-14 13:50:23 +00:00
|
|
|
DB_USER=postgres
|
2025-05-14 15:51:32 +00:00
|
|
|
# The username your bot will use to connect to Postgres.
|
|
|
|
# Default Postgres user is “postgres”, but you can lock it down.
|
|
|
|
|
2025-05-14 13:50:23 +00:00
|
|
|
DB_PASS=supersecret
|
2025-05-14 15:51:32 +00:00
|
|
|
# The password for that DB_USER. Keep this strong and secret.
|
|
|
|
|
2025-05-11 00:02:12 +00:00
|
|
|
DB_NAME=lnbitsdb
|
2025-05-14 15:51:32 +00:00
|
|
|
# The name of the database that holds your `config`, `plans`, and `subscriptions` tables.
|
|
|
|
# On first run the `lnbitsdb` DB will be created automatically by the Postgres container.
|
|
|
|
|
2025-05-14 13:50:23 +00:00
|
|
|
DATABASE_URL=postgresql://${DB_USER}:${DB_PASS}@db:5432/${DB_NAME}
|
2025-05-14 15:51:32 +00:00
|
|
|
# The full SQLAlchemy connection string your bot uses to open the database.
|
|
|
|
# NOTE: “db” here is the service name from docker-compose, not “localhost”.
|
2025-05-14 13:50:23 +00:00
|
|
|
|
2025-05-14 15:51:32 +00:00
|
|
|
# ── Flask Web UI Settings ────────────────────────────────────────────────────
|
2025-05-14 15:02:03 +00:00
|
|
|
FLASK_SECRET=someRandomStringForSessions
|
2025-05-14 15:51:32 +00:00
|
|
|
# A random string (32+ chars) used by Flask to sign session cookies.
|
|
|
|
# Change this to something unguessable before going into production.
|