tf-ct-services/cloud-init.yaml
quinn 67d2c98696 feat(tf-ct-services): com.uvlava.ct.services base host (docker+swap)
Standing CT services droplet for CT + MC MCPs + cocottetech app backends.
Provisioned 138.197.120.105 (nyc3 s-2vcpu-4gb). Base image; app/MCP deploys land later.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 01:55:23 -04:00

14 lines
605 B
YAML

#cloud-config
# Base host for com.uvlava.ct.services: docker + swap, ready for the CT/MC MCP +
# app-backend deployments (each app deploys its own compose/units here later).
package_update: true
packages:
- docker.io
- docker-compose-v2
runcmd:
- [ bash, -c, "fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo '/swapfile none swap sw 0 0' >> /etc/fstab" ]
- [ bash, -c, "mkdir -p /opt/ct-services" ]
- [ systemctl, enable, --now, docker ]
final_message: "com.uvlava.ct.services base ready (docker + swap). Deploy CT/MC MCPs + app backends here."