I run Gitea in Docker Compose, with Postgres running on a separate VM (my Gitea config points to the Postgres DB).
I’d like to move from Docker to K3s (a kubernetes distribution). What is the best way to do this? I’m thinking I’d use the helm chart:
- Use external database to specify my database connection info
- Use ENV_TO_INI to specify the rest of my settings
- Install (this would be done via Flux CD)
- After the volume is created, rsync my git repos from the docker volume to the K3s volume
Because I’m keeping the same DB, all my users, webhooks, API keys, etc… would be the same…