feat: add K3S single-node deployment scripts for self-hosted EnvSync - #16
feat: add K3S single-node deployment scripts for self-hosted EnvSync#16jmac052002 wants to merge 5 commits into
Conversation
BRAVO68WEB
left a comment
There was a problem hiding this comment.
Make sure to test this once, also make sure to run other containers too
| @@ -0,0 +1,158 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
This script only creates the reverse proxy, It also needs to create pods for older container like postgres, clickstack, zetadel, etc
There was a problem hiding this comment.
Thanks for the review you're right, the deployment and service manifests for postgres, Zitadel, Redis, RustFS, and the app containers are missing. I'll add those to init.sh now.
|
Updated added Deployment and Service manifests for all pods: postgres, redis, rustfs, zitadel, zitadel-db, openfga, openfga-db, minikms, minikms-db, envsync-api, and envsync-web. Also added a secrets manifest for MINIKMS_ROOT_KEY. Tested locally with k3d all infrastructure pods come up healthy, openfga-migrate completes successfully. envsync-api and envsync-web require the production .env values and a publicly accessible GHCR image to fully start. |
What this PR adds
Three platform-agnostic bash scripts for deploying and maintaining
EnvSync on a self-hosted K3S single-node cluster.
scripts/deploy/init.sh
bun cli initscripts/deploy/backup.sh
pg_dumpinside the postgres pod viakubectl exec/var/backups/envsync/$DATEwith timestamp folderscripts/deploy/upgrade.sh
v0.4.2)kubectl set imageNotes
or bare metal
*.domainalready points to the server IP