Axiomata Web Deploy
by @kofna3369
Deploy a public web presence (HTML + Docker + DNS + Domain) in ~15 minutes. Triggers on: 'deploy website', 'build and deploy', 'create web presence', 'launch...
clawhub install axiomata-web-deployπ About This Skill
name: axiomata-web-deploy description: "Deploy a public web presence (HTML + Docker + DNS + Domain) in ~15 minutes. Triggers on: 'deploy website', 'build and deploy', 'create web presence', 'launch site', 'deploy to web', 'publish website', 'setup web server', 'docker deploy', 'domain setup', 'DNS configuration', 'full stack deploy'. For users who want a fast, autonomous deployment pipeline."
Axiomata Web Deploy β 15-Minute Public Web Presence
> What this skill does: Takes a directory with HTML files and deploys a live, publicly accessible website on a VPS using Docker + DNS + Domain β fully autonomous, no human intervention after launch.
> Security first: No credentials are embedded in this skill. All secrets are read from local files or environment variables. Never ship tokens in skill code.
> Transparency: This skill is for deploying websites only. It does not: exfiltrate data, access files outside the project directory, or perform any action beyond web deployment.
> Required env vars: HOSTINGER_TOKEN, VPS_IP, DNS_ZONE_ID (or equivalents for your DNS provider)
Architecture Overview
+------------------------------------------------------+
| 15-MINUTE DEPLOYMENT PIPELINE |
+------------------------------------------------------+
| Phase 1 (2 min) β Create HTML + Dockerfile |
| Phase 2 (2 min) β Build Docker image |
| Phase 3 (3 min) β Deploy to Docker |
| Phase 4 (3 min) β Configure DNS + attach domain |
| Phase 5 (5 min) β Verify everything works |
+------------------------------------------------------+
Total: ~15 min | DNS propagation: 5-48h
Prerequisites
Phase 1 β Project Setup (2 min)
mkdir -p /data/deployments/
cd /data/deployments/
index.html:
My Site
[ROCKET] Deployed with Axiomata Web Deploy
Live in 15 minutes.
nginx.dockerfile:
FROM nginx:alpine
COPY index.html /usr/share/nginx/html/index.html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Phase 2 β Build Docker (2 min)
docker build -f nginx.dockerfile -t :latest .
Phase 3 β Deploy Container (3 min)
# Stop existing container (ignore errors)
docker stop 2>/dev/null || true
docker rm 2>/dev/null || trueRun as daemon
docker run -d \
--name \
-p 80:80 \
--restart unless-stopped \
:latestVerify
docker ps | grep
curl -s http://localhost/ | head -20
Port mapping:
80:80 (HTTP)8080:80, 3000:80)Phase 4 β DNS + Domain (3 min)
Get Your VPS Public IP
curl -s ifconfig.me
DNS Setup (Example: Hostinger API)
Credentials stored locally β never in skill.
Your credentials file (replace with your actual path):
# Example: ~/.credentials/host_vps.md
Format:
Token: YOUR_TOKEN_HERE
IP: YOUR_VPS_IP
HOSTINGER_TOKEN=$(grep '^Token:' "$HOME/.credentials/host_vps.md" | awk '{print $2}')
VPS_IP=$(grep '^IP:' "$HOME/.credentials/host_vps.md" | awk '{print $2}')
Required environment variables (declare these before running):
| Variable | Description | Example |
|----------|-------------|---------|
| HOSTINGER_TOKEN | Hostinger API token | hKsW... |
| VPS_IP | Your VPS public IP | 31.97.150.235 |
| DNS_ZONE_ID | Your DNS zone ID | abc123 |
Create DNS records:
# Get your DNS zones
curl -s -X GET "https://api.hostinger.com/api/vps/v1/dns/zones" \
-H "Authorization: Bearer $HOSTINGER_TOKEN"Create root A record
curl -s -X POST "https://api.hostinger.com/api/vps/v1/dns/zones//records" \
-H "Authorization: Bearer $HOSTINGER_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"type\": \"A\", \"name\": \"@\", \"value\": \"$VPS_IP\", \"ttl\": 300}"Create www subdomain
curl -s -X POST "https://api.hostinger.com/api/vps/v1/dns/zones//records" \
-H "Authorization: Bearer $HOSTINGER_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"type\": \"A\", \"name\": \"www\", \"value\": \"$VPS_IP\", \"ttl\": 300}"
For Cloudflare, Namecheap, Route53: Use their API with the same pattern β store credentials locally, reference them at runtime.
Phase 5 β Verify (5 min)
# 1. Container running?
docker ps | grep 2. Local response?
curl -s --max-time 5 http://localhost/ | grep -o ".* "3. Container logs clean?
docker logs --tail 204. DNS resolved?
dig +short @8.8.8.85. External access (with Host header)
curl -s --max-time 10 -H "Host: " http:///
Boilerplate Template
Copy from assets/web-boilerplate/:
index.html β Clean landing pagenginx.dockerfile β Nginx containerCustomize and deploy.
Cleanup Old Deployments
# List all
docker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"Remove
docker stop && docker rm
docker rmi :latest
rm -rf /data/deployments/
HTTPS (Optional, +5 min)
apt install certbot python3-certbot-nginx
certbot --nginx -d -d www.
Success Checklist
docker ps | grep curl http://localhost/ returns HTMLdig +short shows VPS IPSecurity Rules (Critical)
> [WARNING] Never embed credentials in skill code or documentation. > > - API tokens β read from local files only > - Passwords β never in source or docs > - Before publishing anywhere: grep all files for tokens, keys, secrets > > The skill teaches the process, not carries the keys.
_In Altum Per Axioma._ Merlin