Before starting Docker containers, setup scripts now check if required ports are available and warn users about conflicts. Features: - Checks all required ports: 8080, 8025, 1025, 6379 - Checks database port based on selection (3306 for MySQL, 5432 for PostgreSQL) - Shows clear status for each port (Available/In Use) - If conflicts found: - Displays warning message - Shows helpful commands to find and stop conflicting processes - Asks user if they want to continue anyway - Exits if user chooses not to continue Benefits: - Prevents confusing 'port already in use' errors during container startup - Provides clear diagnostic information - Gives users control over how to handle conflicts - Improves setup experience and reduces frustration Implementation: - setup.bat: Uses netstat with findstr for Windows - setup.sh: Uses lsof and netstat for Linux/Mac compatibility
5.3 KiB
5.3 KiB