docker-host

colinwilson/docker-host/hcloud

Terraform Module HCL HCLOUD

Terraform module to deploy a single Docker host (in swarm mode) on Hetzner Cloud. A Hetzner Cloud volume is used as the Docker root directory.

Install
module "docker-host" {
source = "colinwilson/docker-host/hcloud"
version = "0.1.5"
}
plain text: /constructs/tfmod-colinwilson-docker-host-hcloud/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-hcloud-docker-host A Terraform module to deploy a single Docker host (in swarm mode) on Hetzner Cloud. A separate Hetzner Cloud volume is also created, attached and configured as the Docker root directory. See the variables file for the available configuration settings. The resources/services/activations/deletions that this module will create/trigger are: - Create a server and cloud volume on the Hetzner Cloud Platform - Create or use an existing SSH Public Key - Installer Docker Compose, Docker and enable Docker Swarm mode Tutorial Provision a Docker Swarm Host with Traefik (v2) on Hetzner Cloud using Terraform Modules - Part 1 Compatibility This module is meant for use with Terraform 0.13 or higher. Usage Basic usage of this module is as follows: ``hcl module "hcloud-docker-hos

Inputs (6)
NameTypeDescriptionDefault
ssh_public_keystringSSH Public Key required
ssh_public_key_namestringSSH Public Key Name"default"
servermap(any)Server configuration map{ "backups": false, "image": "ubuntu
docker_compose_versionstringDocker compose version to install"1.29.2"
volume_sizenumberVolume size (GB) (min 10, max 10240)10
volume_filesystemstringVolume filesystem"xfs"
Outputs (3)
volume_size — Size of provisioned Cloud Volume
volume_mount_point — Mountpoint of provisioned Cloud Volume
ipv4_address — Server Public IPv4 address
Resources (4)
hcloud_serverhcloud_ssh_keyhcloud_volumehcloud_volume_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.5
Cloud HCLOUD
★ Stars24
Forks13
Total downloads801
Inputs6
Outputs3
Resources4
Examples1
LicenseApache-2.0
Namespacecolinwilson
Updated