Skip to content

janus-bastion/janus-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Janus bootstrap

Janus Bastion Logo

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
@nathanmartel21


Sponsor nathanmartel21
@xeylou
@xeylou


Sponsor xeylou
@Djegger
@Djegger


Sponsor Djegger
@Warsgo
@Warsgo


Sponsor Warsgo

Contents

Features

  • 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.

Requirements

  • Git

  • Docker

  • Docker Compose

  • Bash

  • xdg-open (for Linux GUI environments - but not mandatory)

Quick Start

Initialization

To deploy Janus:

bash janus-init.sh || ./janus-init.sh

This 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>:8445

Deinitialization

To stop and remove everything related to Janus:

bash janus-deinit.sh || ./janus-deinit.sh

This 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.

Repositories Managed

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

Notes

  • If the infrastructure is already running, it will not be reinitialized.

  • The scripts are idempotent and safe to rerun.

License

This project is licensed under the GNU General Public License v3.0 GPL-3.0.
See the LICENSE file for more details.

About

Centralized setup for the Janus ecosystem

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages