ping bar color and auto start docker

This commit is contained in:
mantaohuang 2020-08-03 13:11:06 -04:00
parent 8945ec4d5c
commit f4e721785f
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ services:
ovpn_lb_test: ovpn_lb_test:
build: . build: .
container_name: ovpn_lb_test container_name: ovpn_lb_test
restart: unless-stopped
ports: ports:
- "${bind_ip}:8000:8000" - "${bind_ip}:8000:8000"
- "${bind_ip}:7000-7001:7000-7001" - "${bind_ip}:7000-7001:7000-7001"

View File

@ -345,7 +345,7 @@
if (instance.ping_rate[i] == 0) { if (instance.ping_rate[i] == 0) {
return "#ee1111" return "#ee1111"
} else { } else {
return "#206bc4" return "#27a16c"
} }
}, },
padding: .2, padding: .2,