- Generate .env with random MySQL password on first deploy - Update PORT in .env instead of modifying docker-compose.yml directly - Wait for MySQL container healthcheck before checking app status - Skip .env generation if file already exists