🗃️ Committing everything that changed 🗃️
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:
casjay
2024-09-07 17:10:26 -04:00
parent 8ff40028a0
commit bff821dacc
4 changed files with 33 additions and 103 deletions

View File

@@ -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=$?