Skip to content

Commit

Permalink
Merge pull request #2793 from Tangerine-Community/feature/add-optiona…
Browse files Browse the repository at this point in the history
…l-phpmyadmin-service

Add optional phpmyadmin service for browsing Tangerine MySQL databases
  • Loading branch information
rjcorwin authored Jul 21, 2021
2 parents 9611b1f + ad3aff7 commit def5364
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ T_COUCHDB_USER_ADMIN_PASS="password"
T_MYSQL_CONTAINER_NAME="mysql"
T_MYSQL_USER="admin"
T_MYSQL_PASSWORD="password"
T_MYSQL_PHPMYADMIN="FALSE"

#
# Optional
Expand Down
5 changes: 5 additions & 0 deletions develop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ if echo "$T_MODULES" | grep mysql; then
./mysql-setup.sh
fi

if "$T_MYSQL_PHPMYADMIN" = "TRUE"; then
echo "Starting phpmyadmin..."
./phpmyadmin-start.sh
fi

# Set t_TAG to current branch and the hash for the current commit in Git
if [ "$1" = "" ]; then
if [ "$T_TAG" = "" ]; then
Expand Down
Empty file modified phpmyadmin-start.sh
100644 → 100755
Empty file.
5 changes: 5 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ if echo "$T_MODULES" | grep mysql; then
./mysql-setup.sh
fi

if "$T_MYSQL_PHPMYADMIN" = "TRUE"; then
echo "Starting phpmyadmin..."
./phpmyadmin-start.sh
fi

#
# Get software and shut down existing containers if they exist.
#
Expand Down

0 comments on commit def5364

Please sign in to comment.