Skip to content

boop-ninja/iac-foundry

Repository files navigation

iac-foundry

Deploy Foundry to a Kubernetes Cluster

Instructions

  1. Clone the repo git clone [email protected]:boop-ninja/iac-foundry.git

  2. Create a terraform.tfvars.json file

  3. Add the following contents to the file

    {
      "kube_host": "https://your.kube.host:6443",
      "kube_crt": "your-kube-crt",
      "kube_key": "your-kube-key"
    }
  4. Run a terraform init

  5. Change the workspace to be the domain you wish to deploy to, ex: dnd.example.com

    terraform workspace new dnd.example.com
  6. Run a terraform plan and review that it is acceptable

  7. If acceptable run terraform apply -y

  8. Add two CNAME records to point to your root (if your root domain is pointing to your cluster)

  9. If not, add two A records to point to your cluster.

Records to add

dnd.example.com dnd-admin.example.com

Outcome

It creates two containers with two services:

What to do next

  1. Access your foundry server and follow the setup instructions.
  2. Install Syncthing locally and add your foundry server.
  3. Secure your syncthing instance.
  4. Secure your foundry instance.

About

Deploy Foundry to a Kubernetes Cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages