diff --git a/Base/Dockerfile b/Base/Dockerfile index 750f52f29..1d2f14826 100644 --- a/Base/Dockerfile +++ b/Base/Dockerfile @@ -216,6 +216,7 @@ ENV SE_BIND_HOST="false" \ SE_SUPERVISORD_PID_FILE="/tmp/supervisord.pid" \ SE_SUPERVISORD_AUTO_RESTART="true" \ SE_SUPERVISORD_START_RETRIES="5" \ + SE_SUPERVISORD_UNIX_SERVER_PASSWORD="secret" \ SE_LOG_TIMESTAMP_FORMAT="%Y-%m-%d %H:%M:%S,%3N" \ SE_LOG_LEVEL="INFO" \ SE_HTTP_LOGS="false" \ diff --git a/Base/supervisord.conf b/Base/supervisord.conf index 9a11ad9e6..d06de9cf0 100644 --- a/Base/supervisord.conf +++ b/Base/supervisord.conf @@ -15,7 +15,7 @@ minprocs=200 ; (min. avail process descriptors; file=/tmp/supervisor.sock ; (the path to the socket file) chmod=0700 username=%(ENV_SEL_USER)s -password=secret +password=%(ENV_SE_SUPERVISORD_UNIX_SERVER_PASSWORD)s ; the below section must remain in the config file for RPC ; (supervisorctl/web interface) to work, additional interfaces may be @@ -26,7 +26,7 @@ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface [supervisorctl] serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket username=%(ENV_SEL_USER)s -password=secret +password=%(ENV_SE_SUPERVISORD_UNIX_SERVER_PASSWORD)s [include] files = /etc/supervisor/conf.d/*.conf