Skip to content

Commit

Permalink
chore: update database url in env.example files
Browse files Browse the repository at this point in the history
  • Loading branch information
barbequeorbarbecue committed May 19, 2024
1 parent 95488a9 commit 5b3ae5d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/discord-bot/env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TOKEN=""
CLIENT_ID=""

DATABASE_URL="myuser:mypassword@tcp(localhost:3306)/mydb?parseTime=true"
DATABASE_URL="postgresql://admin:password123@senchabot_postgres_db:5432/senchabot"

TWITCH_CLIENT_ID=""
TWITCH_CLIENT_SECRET=""
4 changes: 3 additions & 1 deletion apps/twitch-bot/env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
DATABASE_URL="myuser:mypassword@tcp(localhost:3306)/mydb?parseTime=true"
OAUTH=""

DATABASE_URL="postgresql://admin:password123@senchabot_postgres_db:5432/senchabot"

WEBHOOK_TOKEN=""
14 changes: 9 additions & 5 deletions env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=5432
POSTGRES_USER=admin
POSTGRES_PASSWORD=password123
POSTGRES_DB=senchabot

MYSQL_ROOT_PASSWORD=myrootpassword
MYSQL_DATABASE=mydb
MYSQL_USER=myuser
MYSQL_PASSWORD=mypassword
DATABASE_URL=mysql://myuser:mypassword@localhost:3306/mydb
DATABASE_URL=postgresql://admin:password123@localhost:5432/senchabot?schema=public

[email protected]
PGADMIN_DEFAULT_PASSWORD=password123

0 comments on commit 5b3ae5d

Please sign in to comment.