This repository has been archived on 2025-08-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
GreenCoast/deploy/oci/cloud-init.yaml
2025-08-21 20:56:38 -04:00

15 lines
550 B
YAML

#cloud-config
package_update: true
package_upgrade: false
runcmd:
- curl -fsSL https://get.docker.com | sh
- usermod -aG docker ubuntu || true
- mkdir -p /opt/greencoast
- apt-get update && apt-get install -y git ca-certificates
- git clone --depth=1 https://github.com/yourname/greencoast.git /opt/greencoast
- cd /opt/greencoast && docker compose pull || true
- cd /opt/greencoast && docker compose up -d
- ufw allow 8080/tcp || true
- ufw allow 8081/tcp || true
final_message: "GreenCoast shard bootstrapped on ports 8080/8081."