These utilities are available to initialize a Docker Swarm environment for the Jupiter Inventory Mangement Console, Jupiter Collector Service, Jupiter Curated Inventory Service, and their respective data stores as well as automatically generated credentials that are stored in Docker Secrets.
- Docker
- Docker Compose
- Python 3.x
- Ensure your Docker host has Docker Swarm initialized
- Clone repo to the Docker host
git clone https://github.com/xpert98/jupiter-docker.git
- Run the jupiter_init.py script, providing a version for the deployments/secrets
jupiter_init.py -v 1
- Take note of database credentials and JWT bearer tokens that were generated - they're only shown once
- A docker-compose.yaml file should be generated
- Deploy the Swarm stack
sudo docker stack deploy jupiter -c docker-compose.yaml