Add phpMyAdmin support to Docker and Caddy configuration. Fix validation to allow subdomain

This commit is contained in:
2025-04-28 01:35:37 +00:00
parent 28e15c4a73
commit 6315a002db
5 changed files with 29 additions and 8 deletions
+2 -1
View File
@@ -207,7 +207,8 @@ install_site() {
cd "$WP_PROJECT_DIR"
# Ask if the user wants to include phpMyAdmin in the setup
read -p "Do you want to include phpMyAdmin? (y/n): " USE_PHPMYADMIN
read -p "Do you want to include phpMyAdmin? (Y/n) [N]: " USE_PHPMYADMIN
USE_PHPMYADMIN=${USE_PHPMYADMIN:-n}
USE_PHPMYADMIN=$(echo "$USE_PHPMYADMIN" | tr '[:upper:]' '[:lower:]')
# Create necessary configuration files for Docker Compose, Caddy, and WordPress