mirror of
https://github.com/casjaysdevdocker/mysql
synced 2025-11-13 02:11:48 -05:00
🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 20s
Some checks failed
release-tag / release-image (push) Failing after 20s
Dockerfile .env.scripts rootfs/root/docker/setup/03-files.sh rootfs/tmp/etc/nginx/nginx.conf rootfs/usr/local/etc/docker/init.d/00-mysqld.sh
This commit is contained in:
@@ -27,8 +27,8 @@ exitCode=0
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Main script
|
||||
symlink "/etc/mysql/my.cnf" "/etc/my.cnf"
|
||||
[ -d "/tmp/etc" ] && copy "/tmp/etc/." "/etc/"
|
||||
[ -f "/etc/mysql/my.cnf" ] && symlink "/etc/mysql/my.cnf" "/etc/my.cnf"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Set the exit code
|
||||
exitCode=$?
|
||||
|
||||
@@ -77,6 +77,6 @@ http {
|
||||
}
|
||||
|
||||
location /phpmyadmin {
|
||||
alias REPLACE_PHPMYADMIN_WWW_ROOT;
|
||||
alias /usr/share/phpmyadmin;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -264,8 +264,8 @@ __post_execute() {
|
||||
local postMessageST="Running post commands for $SERVICE_NAME" # message to show at start
|
||||
local postMessageEnd="Finished post commands for $SERVICE_NAME" # message to show at completion
|
||||
local sysname="${SERVER_NAME:-${FULL_DOMAIN_NAME:-$HOSTNAME}}" # set hostname
|
||||
local root_user_pass="${DATABASE_ROOT_PASSWORD:-$(__random_password)}"
|
||||
local DATABASE_ROOT_PASSWORD="${root_user_pass:-$DATABASE_ROOT_PASSWORD}"
|
||||
local root_user_pass="${root_user_pass:-$DATABASE_ROOT_PASSWORD:-$}"
|
||||
local DATABASE_ROOT_PASSWORD="${root_user_pass:-$(__random_password)}"
|
||||
echo "$DATABASE_ROOT_PASSWORD" >"${ROOT_FILE_PREFIX}/${SERVICE_NAME}_pass"
|
||||
# wait
|
||||
sleep $waitTime
|
||||
|
||||
Reference in New Issue
Block a user