Changes: - Export REDIS_PASSWORD from Docker Secret in entrypoint script - Health check now uses exported environment variable instead of reading Secret file - Increased start_period to 30s to allow more time for initialization Why this works: - Environment variables are accessible to both main process and health checks - Docker Secret file reading in health check context was unreliable - Export makes password available in same shell session for health check Security: - Password still sourced from Docker Secret (encrypted at rest) - Only exported within container environment (not exposed externally) - Redis still requires password authentication (--requirepass) Deployment fix #11 (continued): Redis container health check
12 KiB
12 KiB