Skip to content

Commit

Permalink
Merge pull request #327 from jumpserver/pr@dev@feat_kael
Browse files Browse the repository at this point in the history
feat: 添加 kael 组件
  • Loading branch information
wojiushixiaobai authored Jul 10, 2023
2 parents 8c2020b + 547993d commit 53d5979
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
23 changes: 23 additions & 0 deletions compose/docker-compose-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,29 @@ services:
networks:
- net

kael:
image: jumpserver/kael:${VERSION}
container_name: jms_kael
ulimits:
core: 0
restart: always
tty: true
env_file:
- ${CONFIG_FILE}
volumes:
- ${VOLUME_DIR}/kael/data:/opt/kael/data
depends_on:
core:
condition: service_healthy
healthcheck:
test: "curl -fsL http://localhost:8083/kael/health/ > /dev/null"
interval: 10s
timeout: 5s
retries: 3
start_period: 90s
networks:
- net

web:
image: jumpserver/web:${VERSION}
container_name: jms_web
Expand Down
3 changes: 3 additions & 0 deletions compose/docker-compose-xpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ services:
chen:
image: registry.fit2cloud.com/jumpserver/chen:${VERSION}

kael:
image: registry.fit2cloud.com/jumpserver/kael:${VERSION}

web:
image: registry.fit2cloud.com/jumpserver/web:${VERSION}

Expand Down
6 changes: 4 additions & 2 deletions scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ function get_images() {
echo "registry.fit2cloud.com/jumpserver/lion:${VERSION}"
echo "registry.fit2cloud.com/jumpserver/magnus:${VERSION}"
echo "registry.fit2cloud.com/jumpserver/chen:${VERSION}"
echo "registry.fit2cloud.com/jumpserver/kael:${VERSION}"
echo "registry.fit2cloud.com/jumpserver/razor:${VERSION}"
echo "registry.fit2cloud.com/jumpserver/web:${VERSION}"
echo "registry.fit2cloud.com/jumpserver/video-worker:${VERSION}"
Expand All @@ -149,6 +150,7 @@ function get_images() {
echo "jumpserver/lion:${VERSION}"
echo "jumpserver/magnus:${VERSION}"
echo "jumpserver/chen:${VERSION}"
echo "jumpserver/kael:${VERSION}"
echo "jumpserver/web:${VERSION}"
fi
}
Expand Down Expand Up @@ -241,7 +243,7 @@ function log_error() {

function get_docker_compose_services() {
ignore_db="$1"
services="core koko lion magnus web"
services="core koko lion magnus chen kael web"
use_task=$(get_config USE_TASK)
if [[ "${use_task}" != "0" ]]; then
services+=" celery"
Expand Down Expand Up @@ -269,7 +271,7 @@ function get_docker_compose_services() {
fi
use_xpack=$(get_config_or_env USE_XPACK)
if [[ "${use_xpack}" == "1" ]]; then
services+=" chen razor xrdp"
services+=" razor xrdp"
fi
use_video=$(get_config USE_VIDEO)
if [[ "${use_xpack}" == "1" && "${use_video}" == "1" ]]; then
Expand Down

0 comments on commit 53d5979

Please sign in to comment.