A comprehensive web monitoring application built with Flask and Docker
2.3K

A comprehensive Flask-based web application for monitoring website availability, SSL certificates, and performance metrics. Features real-time monitoring, webhook notifications, PostgreSQL database, and Docker containerization.
# Download and run install script
curl -fsSL https://raw.githubusercontent.com/zaja/pingdaddypro/main/install.sh | bash
Perfect for: Most users, quick setup, automatic configuration
# Clone repository and run with Docker Compose
git clone https://github.com/zaja/pingdaddypro.git
cd pingdaddypro
docker-compose up -d
Perfect for: Developers, custom configurations, source code access
Note: Wait for PostgreSQL to fully start before running the application.
To stop:
docker stop pingdaddypro pingdaddypro-postgres pingdaddypro-nginx
docker rm pingdaddypro pingdaddypro-postgres pingdaddypro-nginx
Yes! The application automatically starts after server restart.
restart: unless-stopped policy--restart=unless-stopped flagBoth installation methods use the same Docker image, so updates are simple:
# Re-run the install script (it will update automatically)
curl -fsSL https://raw.githubusercontent.com/zaja/pingdaddypro/main/install.sh | bash
# Navigate to your pingdaddypro directory
cd ~/pingdaddypro
# Update to latest version
docker-compose down
docker-compose pull
docker-compose up -d
That's it! Both methods will pull the latest svejedobro/pingdaddypro:latest image and restart the application.
Important: Updates preserve all your data (websites, webhooks, settings, history).
Default retention periods:
Automatic cleanup: Old data is automatically removed to maintain optimal performance.
Custom retention: Modify retention periods in the application settings.
Storage impact: See Performance Guideโ for detailed storage requirements.
Note: Replace YOUR_IP with your server's IP address to access from other devices on the network.
Authentication Security:
Account Recovery: If your account gets locked due to failed attempts, you can unlock it via Docker:
# Method 1: Direct SQL command (Recommended)
docker exec -it pingdaddypro-postgres psql -U pingdaddypro -d pingdaddypro -c "UPDATE admin_users SET failed_attempts = 0, locked_until = NULL WHERE username = 'admin';"
# Method 2: Interactive PostgreSQL session
docker exec -it pingdaddypro-postgres psql -U pingdaddypro -d pingdaddypro
# Reset failed attempts and unlock account
UPDATE admin_users SET failed_attempts = 0, locked_until = NULL WHERE username = 'admin';
# Verify the unlock was successful
SELECT username, failed_attempts, locked_until FROM admin_users WHERE username = 'admin';
# Exit PostgreSQL
\q
# Restart application to clear any cached data
docker restart pingdaddypro
Important: After unlocking, restart the application container to ensure any cached lockout data is cleared.
Note: This is a simple authentication system suitable for internal use. For production environments, consider additional security measures like 2FA, stronger password policies, or integration with external authentication systems.
Testing Brute Force Protection: The brute force protection can be tested by attempting multiple failed login attempts. The system will automatically lock the account after 4 failed attempts and unlock it after 15 minutes.
The application uses environment variables for configuration:
DATABASE_URL=postgresql://pingdaddypro:pingdaddypro@db:5432/pingdaddypro
FLASK_ENV=production
If you encounter issues with the installation, you can clean up Ping Daddy Pro Docker resources:
# Stop PingDaddyPro containers (both installation methods)
docker stop pingdaddypro pingdaddypro-postgres pingdaddypro-nginx 2>/dev/null || true
# Remove PingDaddyPro containers
docker rm pingdaddypro pingdaddypro-postgres pingdaddypro-nginx 2>/dev/null || true
# Remove PingDaddyPro images
docker rmi svejedobro/pingdaddypro:latest 2>/dev/null || true
# Remove PingDaddyPro volumes
docker volume rm pingdaddypro_postgres_data 2>/dev/null || true
# Remove PingDaddyPro network
docker network rm pingdaddypro-network 2>/dev/null || true
# Remove local data directory
rm -rf ./pingdaddypro-data 2>/dev/null || true
rm -rf ./data 2>/dev/null || true
# Clean up Docker Compose (if used)
docker-compose down -v --remove-orphans 2>/dev/null || true
# Check if everything is removed
docker ps -a | grep pingdaddypro
docker images | grep pingdaddypro
docker volume ls | grep pingdaddypro
docker network ls | grep pingdaddypro
# Should return no results
After cleanup, you can start fresh with any installation method.
latest - Production imagedev - Development image with hot reloadv1.0.0 - Versioned releasesMIT License - see LICENSE file for details
Version: 1.0.1
Maintained by: svejedobro
GitHub: https://github.com/zaja/pingdaddyproโ
docker pull svejedobro/pingdaddypro:latest