jumpserver/Dockerfile
概要
JumpServerのオールインワンDockerfile。
その他のプロジェクト計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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, Web and KoKo (including Chen, guacd and Kael) 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_KEYencrypts 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. ReplaceBOOTSTRAP_TOKENwith 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 | SQL workbench built into KoKo | API at /koko/chen/api/v1/ |
| Kael | AI service bundled with KoKo | /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
│ ├── s6/
│ ├── 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
- jumpserver/jumpserver: The main JumpServer repository
- jumpserver/koko: Character protocol connector
- jumpserver/lina: Web admin console
- jumpserver/luna: Web terminal
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.
関連プロジェクトを探す
読み込み中…