Skip to content

Commit

Permalink
vacuum
Browse files Browse the repository at this point in the history
  • Loading branch information
darioalessandro committed Jul 9, 2024
1 parent 9afe673 commit 1cb4031
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion actix-api/startup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash -e
/app/dbmate/startup.sh
## Only run dbmate is DATABASE_ENABLED is true, else run the websocket server
if [ "$DATABASE_ENABLED" = "true" ]; then
/usr/src/app/dbmate/startup.sh
fi
websocket_server

0 comments on commit 1cb4031

Please sign in to comment.