First Commit
This commit is contained in:
14
deploy/oci/cloud-init.yaml
Normal file
14
deploy/oci/cloud-init.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
#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."
|
Reference in New Issue
Block a user