Skip to content

Commit cc9b58f

Browse files
committed
Docker: Replace static value by env variable
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 9348ed1 commit cc9b58f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Base/supervisord.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ minprocs=200 ; (min. avail process descriptors;
1515
file=/tmp/supervisor.sock ; (the path to the socket file)
1616
chmod=0700
1717
username=%(ENV_SEL_USER)s
18-
password=secret
18+
password=%(ENV_SE_SUPERVISORD_UNIX_SERVER_PASSWORD)s
1919

2020
; the below section must remain in the config file for RPC
2121
; (supervisorctl/web interface) to work, additional interfaces may be
@@ -26,7 +26,7 @@ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
2626
[supervisorctl]
2727
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
2828
username=%(ENV_SEL_USER)s
29-
password=secret
29+
password=%(ENV_SE_SUPERVISORD_UNIX_SERVER_PASSWORD)s
3030

3131
[include]
3232
files = /etc/supervisor/conf.d/*.conf

0 commit comments

Comments
 (0)