Migrate an app to the apps VPS¶
Repeat for each product (WearLab first).
Migrate an app to the apps VPS¶
Repeat for each product (WearLab first). Full guide: this page.
Checklist¶
- Bootstrap apps VPS if needed:
bash scripts/bootstrap-apps-vps.sh(see Apps VPS) - Deploy Woodpecker apps agent:
bash scripts/deploy-apps-woodpecker-agent.sh - App
deploy/docker-compose.ymlwith Traefik labels on networkapps - Woodpecker
.woodpecker.ymltop-levellabels: location: apps-vps - Woodpecker secrets:
ssh_host=82.165.177.110,ssh_user=deploy,ssh_key - Deploy path on server:
/opt/apps/{app}/ - DNS A record:
{app}.rafaelgonzalezalbes.com→ apps VPS IP - Kuma HTTP monitor for the app URL (
uptime-kuma/monitors.manifest.json→ Apps VPS group) - Backup:
bash scripts/backup-apps-volume.sh {app}on apps VPS (cron daily)
WearLab¶
- Host:
wearlab.rafaelgonzalezalbes.com - Repo:
alex/wearlab-main - Target:
/opt/apps/wearlab/on apps VPS82.165.177.110 - Legacy preview on infra VPS: stopped after migration