Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.45 KB

readme.md

File metadata and controls

50 lines (38 loc) · 1.45 KB

EJBCA DOCKER CONTAINER TEMPLATE

Run a production-ready EJBCA docker container using Terraform and a Nginx reverse proxy. Optionally, setup the nginx reverse proxy with ansible.

Other deployement scenario are covered elsewhere:

Full instruction for the docker container can be found on Docker Hub.

Prerequisites

For this example you will need:

  • Nginx reverse proxy as a front-end. Use main.yaml ansible playbook to install and setup Nginx if it's not installed yet.
  • Terraform
  • Ansible (Optional)

Setup

Clone

git clone https://github.com/HarimbolaSantatra/ejbca-terraform.git
cd ejbca-terraform

Setup your own terraform and ansible variable

cp example.tfvars.sample production.tfvars
cp inventory.ini.sample inventory.ini

Deploy 🚀

ansible-playbook -i inventory.ini main.yaml -K
terraform init .
terraform apply -var-file production.tfvars

Features

  • Support nginx container and bare metal installation

Resources