This repository deploys an Nginx and certbot setup to docker
Name | Version |
---|---|
terraform | >=1.0.9 |
docker | 2.15.0 |
Name | Version |
---|---|
docker | 2.15.0 |
No modules.
Name | Type |
---|---|
docker_container.nginx | resource |
docker_image.nginx_image | resource |
docker_network.web_server_network | resource |
docker_volume.web_server_volume | resource |
docker_registry_image.nginx | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
docker_host | The host where docker resides | string |
n/a | yes |
http_interface_bind | The network interface that the http port will bind to | string |
"0.0.0.0" |
no |
http_port | The host port number the internal port 80 (http) will map to | number |
80 |
no |
https_interface_bind | The network interface that the https port will bind to | string |
"0.0.0.0" |
no |
https_port | The host port number the internal port 443 (https) will map to | number |
443 |
no |
nginx_container_name | The name of the Pi Hole container to be created | string |
n/a | yes |
nginx_image_name | The name of the Pi Hole docker image that should be pulled | string |
n/a | yes |
restart_policy | The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to no. | string |
n/a | yes |
web_server_network_name | The name of the docker network that the Pi Hole container will be connected to | string |
n/a | yes |
web_server_volume_name | The name of the docker volume to be used by the Pi Hole container | string |
n/a | yes |
No outputs.
This code is open sourced licensed under the Apache 2.0 License