add more db instructions to .env.example.

This commit is contained in:
fiatjaf 2021-07-02 19:10:57 -03:00
parent ffadce02b0
commit 50e3d3803b

View File

@ -9,9 +9,13 @@ PORT=5000
LNBITS_ALLOWED_USERS=""
LNBITS_DEFAULT_WALLET_NAME="LNbits wallet"
# Database: by default we will use SQLite, but you can replace that with a Postgres URL
# Database: to use SQLite, specify LNBITS_DATA_FOLDER
# to use PostgreSQL, specify LNBITS_DATABASE_URL=postgres://...
# to use CockroachDB, specify LNBITS_DATABASE_URL=cockroachdb://...
# for both PostgreSQL and CockroachDB, you'll need to install
# psycopg2 as an additional dependency
LNBITS_DATA_FOLDER="./data"
# LNBITS_DATABASE_URL="postgres:///"
# LNBITS_DATABASE_URL="postgres://user:password@host:port/databasename"
LNBITS_DISABLED_EXTENSIONS="amilk"
LNBITS_FORCE_HTTPS=true