Janus Bootstrap is a utility for quickly deploying and tearing down the Janus administrative bastion environment. It automates the setup and cleanup of the entire Janus infrastructure using Docker and Git, allowing administrators to start or stop work in seconds.
| Author | Author | Author | Author |
|---|---|---|---|
![]() @nathanmartel21 |
![]() @xeylou |
![]() @Djegger |
![]() @Warsgo |
janus-init.sh: Script to initialize and launch the Janus environment.janus-deinit.sh: Script to stop and clean up the Janus environment.
- Clones all required Janus repositories.
- Deploys the infrastructure using Docker Compose.
- Automatically detects and opens the management interface in a browser.
- Provides a clean uninstall path, including Docker volume and repo cleanup.
To deploy Janus:
bash janus-init.sh || ./janus-init.shThis will:
-
Prepare a workspace in ~/janus-workspace/.
-
Clone the necessary Janus repositories.
-
Remove any existing janus-infra_mysql_data Docker volume.
-
Launch the infrastructure with Docker Compose.
-
Output the access URL and attempt to open it in your browser.
Example output:
[INFO] : Preparing workspace...
[INFO] : Cloning janus-core...
...
[SUCCESS] : Janus is accessible at: https://<haproxy-ip>:8445To stop and remove everything related to Janus:
bash janus-deinit.sh || ./janus-deinit.shThis will:
-
Shut down the Docker infrastructure.
-
Remove the janus-infra_mysql_data volume if it exists.
-
Delete all cloned repositories from the workspace.
-
Remove the workspace directory if empty.
The following repositories will be cloned into ~/janus-workspace/:
-
janus-core
-
janus-frontend
-
janus-cli
-
janus-infra
-
janus-devops
-
janus-monitoring
-
janus-docs
-
janus-vault
-
If the infrastructure is already running, it will not be reinitialized.
-
The scripts are idempotent and safe to rerun.
This project is licensed under the GNU General Public License v3.0 GPL-3.0.
See the LICENSE file for more details.



