Skip to content

Commit

Permalink
Add config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyzlle authored May 5, 2022
1 parent 3bb66bf commit 5479ed9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
echo "
[app]
address = \"0.0.0.0:${PORT}\"
admin_username = \"${ADMIN_USERNAME}\"
admin_password = \"${ADMIN_PASSWORD}\"
# Database.
[db]
host = \"${PGHOST}\"
port = ${PGPORT}
user = \"${PGUSER}\"
password = \"${PGPASSWORD}\"
database = \"${PGDATABASE}\"
ssl_mode = \"disable\"
max_open = 25
max_idle = 25
max_lifetime = \"300s\"
" > config.toml

0 comments on commit 5479ed9

Please sign in to comment.