storagenode/docker: allow to configure updater with separated env variables
We couldn't use environment variables safely to configure storagenode, since we introduced the embedded updater. For example STORJ_DEBUG_ADDR=localhost:11111 would try to set debug port 11111 for both the storagenode and storagenode-updated, causing port conflict. This small change enables to configure storagenode-updater with STORJUPDATER_... environment variables. Tested with creating custom image and installing to my own storage node. Change-Id: I6b0a601a4dc63d2d1ff3c191ae89981434e55c30
This commit is contained in:
parent
4b1be6bf8e
commit
3d79c5f3a1
@ -22,6 +22,7 @@ password=dummy
|
||||
command=/app/storagenode-updater
|
||||
autostart=%(ENV_AUTO_UPDATE)s
|
||||
autorestart=true
|
||||
environment=STORJ_ENV_PREFIX=STORJUPDATER
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stdout
|
||||
|
Loading…
Reference in New Issue
Block a user