Fix db race condition

- Fixed a bug where the bot would crash if the db connection took too long
- Updated packages to latest version
- Bumped version to 1.1.1
This commit is contained in:
2023-09-16 11:12:43 +02:00
parent f528d107da
commit d5b75b12c8
7 changed files with 765 additions and 369 deletions

View File

@ -8,7 +8,7 @@ services:
tty: true
stdin_open: true
depends_on:
- database
- db
restart: unless-stopped
environment:
- TOKEN=$TOKEN
@ -16,7 +16,7 @@ services:
- DB_USERNAME=$DB_USERNAME
- DB_PASSWORD=$DB_PASSWORD
- DB_DATABASE=$DB_DATABASE
database:
db:
image: postgres:latest
restart: unless-stopped
ports: