Docker provisioner using terraform. Installing docker engine on cloud or self-hosted on-premise infrastructure such as Bare Metal or Virtual Machine in various Hypervisor.
Name | Version |
---|---|
Terraform | >= 1.0.11 |
There are instructions under demo
directory will get you a copy of the project up and running on your local machine for development and testing purposes.
Deploy on self-hosted VM
module "docker" {
source = "bayudwiyansatria/bootstrap/docker"
server_ips = var.server_ips
ssh_private_key = var.cluster_admin_ssh_access
}
module "docker" {
source = "bayudwiyansatria/bootstrap/docker"
server_ips = [
192.168.1.2,
192.168.1.3,
192.168.1.4
]
ssh_private_key = var.cluster_admin_ssh_access
}
Name | Default | Description | Required |
---|---|---|---|
server_ips | [] |
List String of Server IP addresses | true |
ssh_private_key | ~/.ssh/id_rsa |
SSH Private Key | true |
docker_version | 20.10.11 |
Docker Version | true |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Looking to contribute to our code but need some help? There's a few ways to get information:
- Connect with us on Twitter
- Like us on Facebook
- Follow us on LinkedIn
- Subscribe us on Youtube
- Log an issue here on github
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details
Copyright © 2021. All Rights Reserved.
- Hat tip to anyone whose code was used
- Inspiration