tweaking docker command for ufmonitor api service
This commit is contained in:
parent
6e2ec544f3
commit
bacc95234c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ TimeoutStartSec=0
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
EnvironmentFile=-{{ ufmonitor_config_path }}
|
EnvironmentFile=-{{ ufmonitor_config_path }}
|
||||||
ExecStart=/usr/bin/docker run --detach --log-driver none --name %n -p 8000:8000 --add-host=postgres:{{ public_ip }} {{ apiserver_container_image }} -l /var/log/ufmonitor/%n.log
|
ExecStart=/usr/bin/docker run --detach --log-driver none --name %n -p 8000:8000 --add-host=postgres:{{ public_ip }} {{ apiserver_container_image }}
|
||||||
ExecStop=/usr/bin/docker rm --force %n
|
ExecStop=/usr/bin/docker rm --force %n
|
||||||
TimeoutStopSec=180
|
TimeoutStopSec=180
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue