mirror of
https://github.com/casjaysdevdocker/mysql
synced 2025-09-18 03:57:44 -04:00
🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 0s
Some checks failed
release-tag / release-image (push) Failing after 0s
rootfs/root/docker/setup/03-files.sh rootfs/tmp/etc/nginx/nginx.conf rootfs/usr/local/etc/docker/init.d/00-mysqld.sh rootfs/usr/local/etc/docker/init.d/05-nginx.sh rootfs/usr/local/etc/docker/init.d/99-nginx.sh
This commit is contained in:
@@ -28,7 +28,13 @@ exitCode=0
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Main script
|
||||
[ -d "/tmp/etc" ] && copy "/tmp/etc/." "/etc/"
|
||||
[ -d "/etc/nginx/conf.d" ] || mkdir -p "/etc/nginx/conf.d"
|
||||
[ -f "/etc/mysql/my.cnf" ] && symlink "/etc/mysql/my.cnf" "/etc/my.cnf"
|
||||
cat <<EOF >/etc/nginx/conf.d/phpmyadmin.conf
|
||||
location ^~ /phpmyadmin {
|
||||
alias "REPLACE_PHPMYADMIN_WWW_ROOT;
|
||||
}
|
||||
EOF
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Set the exit code
|
||||
exitCode=$?
|
||||
|
Reference in New Issue
Block a user