Skip to content

About

JumpServer all-in-one Dockerfile

Resources

Stars

493 stars

Watchers

10 watching

Forks

Repository files navigation

JumpServer

JumpServer Docker Deployment

All-in-one image and Docker Swarm orchestration for JumpServer

License: GPLv3 Docker Pulls Last commit GitHub Stars

English · 简体中文 · 繁體中文


Introduction

This repository maintains containerized deployment files for JumpServer and offers two out-of-the-box options:

Option Description Typical use
all-in-one Runs Core, Koko, Chen, Kael and Web in a single container, with PostgreSQL and Redis bundled Evaluation, testing, small deployments
Docker Swarm Orchestrates the official component images as a cluster; database and Redis must be provided Clusters and horizontal scaling

Tip

For production, we recommend the JumpServer installer. all-in-one and Swarm are intended for testing or environments that already run container infrastructure.

Quick Start

docker volume create jsdata
docker volume create pgdata

docker run -d --name jms_all \
  -e SECRET_KEY=[API_KEY] \
  -e BOOTSTRAP_TOKEN=PleaseChangeMe \
  -v jsdata:/opt/data \
  -v pgdata:/var/lib/postgresql \
  -p 80:80 \
  -p 2222:2222 \
  jumpserver/jms_all:latest

Once the container is running, open http://<server-ip>/ and sign in with:

  • Username: admin
  • Password: ChangeMe

Important

SECRET_KEY encrypts sensitive database fields. Replace it with a random alphanumeric string of at least 50 characters and keep it safe. It must not change after the first deployment, otherwise encrypted fields can no longer be decrypted. Replace BOOTSTRAP_TOKEN with a random string of at least 24 characters as well.

See the all-in-one guide for external databases, upgrades and troubleshooting. You can also start it with the bundled docker-compose.yml.

Architecture

The all-in-one image bundles the following services:

Component Description Port / Path
Core JumpServer core API and scheduler 8080 inside the container
Web Nginx frontend and reverse proxy 80
Koko Character protocol connector for SSH/SFTP sessions; guacd is bundled for graphical sessions 2222, web path /koko/
Chen Web database connector web path /chen/
Kael AI service, registered with BOOTSTRAP_TOKEN web path /kael/
PostgreSQL Bundled database, swappable for an external one 5432
Redis Bundled cache, swappable for an external one 6379

Ports and Persistence

Item Description
80/tcp Web entrypoint
2222/tcp Koko SSH gateway
jsdata:/opt/data Unified data volume for component data, Nginx logs and Redis data
pgdata:/var/lib/postgresql Bundled PostgreSQL data directory (not needed with an external database)
/opt/download Files for application publishing hosts (optional)

Repository Layout

.
├── allinone/            # all-in-one image build files and guide
│   ├── Dockerfile
│   ├── entrypoint.sh
│   ├── service.sh
│   ├── supervisord.conf
│   ├── docker-compose.yml
│   ├── .env.example
│   ├── build.sh
│   ├── README.md
│   ├── README.zh-hans.md
│   └── README.zh-hant.md
└── swarm/               # Docker Swarm orchestration files and guide
    ├── config_example.conf
    ├── docker-compose*.yml
    ├── README.md
    ├── README.zh-hans.md
    └── README.zh-hant.md

Related Repositories

Contributing

Please report bugs and feature requests via Issues. Pull requests improving the build scripts and documentation are welcome.

License

Copyright (c) 2014-2026 FIT2CLOUD, All rights reserved.

Licensed under the GNU General Public License version 3 (GPLv3), consistent with the JumpServer main repository. See LICENSE for the full license text.

About

JumpServer all-in-one Dockerfile

Resources

Stars

493 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages