fix: add Docker named volume for persistent data
This commit is contained in:
parent
156c81f230
commit
c747e9da63
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ def deploy_container(name, token, cloud, port, upstream_ip, upstream_port, label
|
||||||
--name {container} \
|
--name {container} \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
-p {port}:{port} \
|
-p {port}:{port} \
|
||||||
|
-v wallarm-data-{name}:/opt/wallarm \
|
||||||
-p {monitoring_port}:{monitoring_port} \
|
-p {monitoring_port}:{monitoring_port} \
|
||||||
-e WALLARM_API_TOKEN={token} \
|
-e WALLARM_API_TOKEN={token} \
|
||||||
-e WALLARM_API_HOST={api_host} \
|
-e WALLARM_API_HOST={api_host} \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue