From 557e9ec9c79545ccb5c234ae767e381c38e5d60f Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Mon, 15 Jun 2026 23:13:28 +0700 Subject: [PATCH] fix: override PORT env for scanner service ScannerSettings uses case_sensitive=False and field name 'port', so it picks up PORT=80 from the container's shared environment and tries to bind port 80 instead of the correct 8001. Wrap scanner command with PORT=8001 to prevent env collision. --- supervisord.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisord.conf b/supervisord.conf index 83616d7..2353165 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -66,7 +66,7 @@ killasgroup=true priority=400 [program:scanner] -command=python -m src.worker +command=sh -c "PORT=8001 python -m src.worker" directory=/app autostart=true autorestart=true