python3
- See specific deployment
README.md
for their dependencies
Deployment Type | Stable | Link to Deployment |
---|---|---|
Docker Compose | ✔ | Documentation |
Docker Swarm | ❌ | Documentation |
Amazon Web Service | ❌ | Documentation |
Microsoft Azure | ❌ | Documentation |
Google Cloud Platform | ❌ | Documentation |
Deployments are python modules that reside in deployments
. Each deployment module will have the following:
deploy.py
- Code to deployundeploy.py
- Code to remove deploymentconfig-validator.json
- JSON config that validates the user provided config.
This will generate a skeleton JSON configuration file for the deployment you choose to use. It will output configuration.json
to be used for specified deployment.
Example: python run.py init
or python run.py init --type docker_compose
For a deployment to run, it must have the contents of deployments/<deployment_type>/config-validator.json
satisfied.
To satisfy those requirements you can:
- Set Environment variables that match the keys from the
config-validator.json
- Set values in the configuration file created via the
init
.
If both the configuration file and the environment variables are set, the configuration file takes precedence.
Arguments & Flags | Description |
---|---|
--config <config-file> |
JSON formatted file required to deploy |
--type <type> |
(Optional) Skip prompt and provide deployment type |
Example: python run.py deploy --type docker_compose --config configuration.json
Tears down deployment provided.
Arguments & Flags | Description |
---|---|
--type <type> |
(Optional) Skip prompt and provide deployment type |
Example: python run.py undeploy --type docker_compose
- PostgreSQL
- MySQL