244c488b10
Get storagenode and storagenode-updater binaries during run of the container to not to release new docker image on each new version of the storagenode binary. Change-Id: Ic0eb4a9c18a98598dfd9b96c1d352c7399496fd2
33 lines
732 B
Plaintext
33 lines
732 B
Plaintext
[supervisord]
|
|
user=root
|
|
nodaemon=true
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
pidfile=/run/supervisord.pid
|
|
childlogdir=/var/log/supervisor
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[inet_http_server]
|
|
port = 127.0.0.1:9001
|
|
|
|
[supervisorctl]
|
|
serverurl = http://127.0.0.1:9001
|
|
|
|
[program:storagenode-updater]
|
|
command=/app/storagenode-updater
|
|
autostart=%(ENV_AUTO_UPDATE)s
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stdout
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:storagenode]
|
|
command=/app/storagenode
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stdout
|
|
stderr_logfile_maxbytes=0
|