Skip to content

Commit

Permalink
Set default DB port based on Mysql port.
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Jan 17, 2023
1 parent 1100524 commit 7530cf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

export DB_PORT=${DB_PORT:-3306}

# set server timezone
echo "$(date +%F_%R) [Note] Setting server timezone settings to '${TZ}'"
echo "date.timezone = ${TZ}" >> /etc/php.ini
Expand Down

0 comments on commit 7530cf6

Please sign in to comment.