Changed DB config settings
This commit is contained in:
parent
3594c4d353
commit
d47c7cacbb
3 changed files with 36 additions and 42 deletions
15
.env.example
15
.env.example
|
@ -9,16 +9,13 @@ NODE_ENV=development
|
|||
TOKEN=
|
||||
|
||||
# Put database type here (mongo or postgres)
|
||||
DB=mongo
|
||||
DB_DRIVER=mongo
|
||||
|
||||
# If you're using MongoDB, put the database URL here
|
||||
MONGO=mongodb://localhost:27017/esmBot
|
||||
|
||||
# If you're using Postgres, fill in the needed info here
|
||||
PG_USER=esmbot
|
||||
PG_HOST=localhost
|
||||
PG_DB=esmbot
|
||||
PG_PORT=5432
|
||||
# Put the database connection URL here
|
||||
# Example for PostgreSQL:
|
||||
# DB=postgresql://esmbot@localhost:5432/esmbot
|
||||
# Example for MongoDB:
|
||||
DB=mongodb://localhost:27017/esmBot
|
||||
|
||||
# Put snowflake ID of bot owner here
|
||||
OWNER=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue