No description
  • HCL 93.5%
  • Nix 6%
  • Shell 0.5%
Find a file
2026-05-12 19:40:21 -04:00
digitalocean remove unnecessary variable 2026-05-06 16:11:08 -05:00
domain digitalocean deployment 2026-05-06 12:41:49 -05:00
forgejo remove unnecessary variable 2026-05-06 16:11:08 -05:00
forgejo-runner batman 2026-04-30 15:48:01 -05:00
local local deployment 2026-05-12 19:40:21 -04:00
.gitignore batman 2026-04-30 15:48:01 -05:00
flake.lock local deployment 2026-05-12 19:40:21 -04:00
flake.nix local deployment 2026-05-12 19:40:21 -04:00
README.md remove read me for local setup 2026-05-06 15:43:28 -05:00
treefmt.toml batman 2026-04-30 15:48:01 -05:00

forgejo-tf

Dependencies

Dependencies can be found in the flake.nix file under the devShells.default.buildInputs section.

Required ENV variables

export TF_VAR_FORGEJO_RUNNER_TOKEN=
export TF_VAR_ADMIN_USERNAME=
export TF_VAR_ADMIN_PASSWORD=
export TF_VAR_ADMIN_EMAIL=


export TF_VAR_FORGEJO_BUCKET_ENDPOINT=
export TF_VAR_FORGEJO_BUCKET_ACCESS_ID=
export TF_VAR_FORGEJO_BUCKET_SECRET_ACCESS_KEY=
export TF_VAR_FORGEJO_BUCKET_NAME=
export TF_VAR_FORGEJO_BUCKET_REGION=

export TF_VAR_DIGITALOCEAN_BACKEND_BUCKET_ENDPOINT=
export TF_VAR_BUCKET_NAME=
export TF_VAR_DIGITALOCEAN_BACKEND_BUCKET_NAME=
export TF_VAR_DIGITALOCEAN_REGION=nyc3
export TF_VAR_DIGITALOCEAN_SPACES_ACCESS_ID=
export TF_VAR_DIGITALOCEAN_SPACES_SECRET_KEY=

export TF_VAR_FORGEJO_BACKEND_BUCKET_ENDPOINT=
export TF_VAR_FORGEJO_BACKEND_BUCKET_NAME=

export TF_VAR_DIGITALOCEAN_TOKEN=
export TF_VAR_SSH_PRIVATE_KEY_PATH=
export TF_VAR_SSH_KEY_NAME=
export TF_VAR_VPC_NAME=

export TF_VAR_PORKBUN_API_KEY=
export TF_VAR_PORKBUN_API_SECRET=
export TF_VAR_ROOT_DOMAIN=
export TF_VAR_SUB_DOMAIN=

TF_VAR_FORGEJO_RUNNER_TOKEN can be obtained once the forgejo deployment is live.

  • For individual runner, go to Settings > Actions > Runners. The token will be under "Create new runner"
  • For global runner, go to Site administration > Actions > Runners. The token will be under "create new runner".

Local Cluster

TBD