replace terraform compose with dummy

This commit is contained in:
admin 2026-01-28 10:45:32 -07:00
parent d84e3b0669
commit 176b4ab191
2 changed files with 19 additions and 15 deletions

View file

@ -1,16 +1,4 @@
services:
terraform:
image: hashicorp/terraform:latest
container_name: terraform-worker
# We mount the current folder into the container so it can see your .tf files
volumes:
- .:/app
working_dir: /app
# We pass your Komodo secrets into the container
environment:
- TF_VAR_pve_endpoint=${TF_VAR_pve_endpoint}
- TF_VAR_pve_token_id=${TF_VAR_pve_token_id}
- TF_VAR_pve_token_secret=${TF_VAR_pve_token_secret}
# This prevents the container from trying to run a service;
# we want to trigger commands manually or via Komodo Actions.
entrypoint: ["/bin/sh", "-c", "sleep infinity"]
terraform-manager:
image: alpine:latest
command: tail -f /dev/null # This just keeps the container "active"

View file

@ -0,0 +1,16 @@
services:
terraform:
image: hashicorp/terraform:latest
container_name: terraform-worker
# We mount the current folder into the container so it can see your .tf files
volumes:
- .:/app
working_dir: /app
# We pass your Komodo secrets into the container
environment:
- TF_VAR_pve_endpoint=${TF_VAR_pve_endpoint}
- TF_VAR_pve_token_id=${TF_VAR_pve_token_id}
- TF_VAR_pve_token_secret=${TF_VAR_pve_token_secret}
# This prevents the container from trying to run a service;
# we want to trigger commands manually or via Komodo Actions.
entrypoint: ["/bin/sh", "-c", "sleep infinity"]