File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
1
+ services :
2
+ facelive :
3
+ image : ${REGISTRY:-registry.fit2cloud.com}/jumpserver/facelive:${VERSION}
4
+ container_name : jms_facelive
5
+ hostname : jms_facelive
6
+ restart : always
7
+ env_file :
8
+ - ${CONFIG_FILE}
9
+ volumes :
10
+ - ${VOLUME_DIR}/facelive/data:/opt/facelive/data
11
+ healthcheck :
12
+ test : " curl -fsL http://localhost:9999/facelive/health/ > /dev/null"
13
+ interval : 10s
14
+ timeout : 5s
15
+ retries : 3
16
+ start_period : 10s
17
+ networks :
18
+ - net
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ function set_port() {
56
56
razor_enable=$( get_config RAZOR_ENABLE)
57
57
web_enable=$( get_config WEB_ENABLE)
58
58
nec_enable=$( get_config NEC_ENABLE)
59
+ facelive_enable=$( get_config FACELIVE_ENABLE)
59
60
60
61
if [[ " ${web_enable} " != " 0" ]]; then
61
62
http_port=$( get_config HTTP_PORT)
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ function get_images() {
208
208
echo " registry.fit2cloud.com/jumpserver/xrdp:${VERSION} "
209
209
echo " registry.fit2cloud.com/jumpserver/panda:${VERSION} "
210
210
echo " registry.fit2cloud.com/jumpserver/nec:${VERSION} "
211
+ echo " registry.fit2cloud.com/jumpserver/facelive:${VERSION} "
211
212
else
212
213
echo " jumpserver/core:${VERSION} "
213
214
echo " jumpserver/koko:${VERSION} "
@@ -343,8 +344,8 @@ function get_docker_compose_services() {
343
344
[[ " ${use_loki} " == " 1" ]] && services+=" loki"
344
345
345
346
if [[ " ${use_xpack} " == " 1" ]]; then
346
- services+=" magnus razor xrdp video panda nec"
347
- for service in magnus razor xrdp video panda nec; do
347
+ services+=" magnus razor xrdp video panda nec facelive "
348
+ for service in magnus razor xrdp video panda nec facelive ; do
348
349
enabled=$( get_config " ${service^^} _ENABLED" )
349
350
[[ " ${enabled} " == " 0" ]] && services=" ${services// ${service} / } "
350
351
done
@@ -396,7 +397,7 @@ function get_docker_compose_cmd_line() {
396
397
fi
397
398
398
399
if [[ " ${use_xpack} " == ' 1' ]]; then
399
- for service in magnus razor xrdp video panda nec; do
400
+ for service in magnus razor xrdp video panda nec facelive ; do
400
401
if [[ " ${services} " =~ ${service} ]]; then
401
402
cmd+=" -f compose/${service} .yml"
402
403
fi
You can’t perform that action at this time.
0 commit comments