Skip to content

cjww-development/terraform-docker-jenkins

Repository files navigation

Apache-2.0 license

terraform-docker-jenkins

This repository deploys a Jenkins setup to docker

Docs

Requirements

Name Version
terraform >=1.0.9
docker 2.15.0

Providers

Name Version
docker 2.15.0

Modules

No modules.

Resources

Name Type
docker_container.jenkins resource
docker_image.jenkins_image resource
docker_network.jenkins_network resource
docker_volume.jenkins_volume resource
docker_registry_image.jenkins data source

Inputs

Name Description Type Default Required
agents_interface_bind The network interface that the http port will bind to string "0.0.0.0" no
agents_port The host port number the internal port 50000 (http) will map to number 50000 no
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 8080 (http) will map to number 8080 no
jenkins_container_name The name of the Jenkins container to be created string n/a yes
jenkins_image_name The name of the Jenkins docker image that should be pulled string n/a yes
jenkins_network_name The name of the docker network that the Jenkins container will be connected to string n/a yes
jenkins_volume_name The name of the docker volume to be used by the Jenkins container string n/a yes
privileged Should the Jenkins container run in privileged mode bool n/a yes
user The user that runs Jenkins within the container string n/a yes

Outputs

Name Description
jenkins_container_entrypoint List of the entrypoints for the deployed container
jenkins_container_hostname The hostname assigned to the container after deploy
jenkins_container_id The id of the deployed container
jenkins_container_ip The ip address of the deployed container
jenkins_container_networks The networks associated with the deployed container

License

This code is open sourced licensed under the Apache 2.0 License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages