updated README
Some checks are pending
Deploy Home Assistant / deploy (push) Waiting to run
Build juntekim.com / Push-to-juntekim-to-docker-hub (push) Waiting to run
Build juntekim.com / run-on-k8s (push) Blocked by required conditions
Deploy n8n / deploy (push) Waiting to run
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / build (push) Waiting to run
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Deploy Postgres (PV + PVC + Deployment) (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Apply runtime secrets (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / Run DB migrations (Atlas) (push) Blocked by required conditions
Build & Deploy stripe-to-invoice (with DB secrets + migrations) / deploy (push) Blocked by required conditions
Terraform Apply / Terraform Apply (push) Waiting to run
Terraform Apply / Terraform Apply - SES (push) Blocked by required conditions

This commit is contained in:
Jun-te Kim 2026-03-11 23:53:52 +00:00
parent 5e5d9725c6
commit b065cc5430
2 changed files with 31 additions and 74 deletions

View file

@ -1,43 +1,34 @@
Initial:
- [x] Get a basic nextjs app set up
- [x] Set up new laptop github workflow
- [x] Download next js
- [x] Aws terraform plan and apply configured
- [x] Deploy into my new k8s
- [x] k get pods -A works
- [x] deploy docker registry credentials
- [x] deploy storageclass
- [x] deloy traefik customised
- [x] deploy who-am-i
- [x] deploy next js to juntekim.com
- [x] Traefik certs change from staging to production
- [x] Merge my code to main
- [x] Push from workflow k8s bootstrap
- [x] Add my favroutie quotes in a file and everytime someone joins it shows a new one
- [x] n8n
- [x] home assistant deploy
## AWS S3 + Terraform Setup (TODO - do first)
- [ ] Create new S3 bucket for Terraform state (e.g. `juntekim-terraform-state`)
- [ ] Enable versioning on the bucket
- [ ] Set up Terraform with S3 backend pointing to new bucket
- [ ] Use Terraform to define new infra (start with what exists, then expand)
- [ ] Store all future infra changes via version-controlled Terraform in Forgejo
Back up strategy:
- [ ] Set up a basic cron job to save all the storage stuff i need so i can have a back up of all configuration
- Do this first before any database so i have back ups for existing problems
- [ ] Deploy a basic postgres db, set up schema using atlas hcl and their declartive migration scripts
- [ ] Make a pgadmin pgadmin.juntekim.com - so I can keep things logged on instead of depending on devcontainer
- [ ] make a cron job in k8s for each of my projects to save files into d3 under a
bucket called pgres_backups/<projects>/filedump, make a snapshot once every two weeks once i get it working and then re-assess
- k8s
## Forgejo Backup (TODO)
- [ ] Set up restic CronJob to back up forgejo-pvc (/data) to S3
- Mount forgejo-pvc read-only in CronJob
- Use restic to snapshot to S3 bucket (need: S3_BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, RESTIC_PASSWORD)
- Schedule: daily
- [ ] Forgejo postgres backup via databasus (separate)
- [ ] Test restore from restic snapshot
Personal projects:
- [x] Spend some time learning n8n and home assistant
- [] Plan to get some automation working with my android phone
- Most likely things like start a book from a list from audiable maybe- who knows
- [ ] Figure out how to get humidity and home automation set up
- [] When laundry is dry
- [] Turn the fan on automaticlaly
- [ ] Re make recallplanner.com so i can use it for my google calendar automation
- [ ] Re make mealcraft.com so i can help my brother make this project
- [ ] Re make
figure out how to do a back up for a small pvc and pv using traefik as the example
how would i back everything in ceph storage to aws like i used to do in mist cron job when i it was just the local host
un mount the storage class once i got rid of everything
Router:
- [] I want to be able to fix dynamic dns so that I can use my solution more reliabaly
- [] Get another k8s set up for more resilence to my set up in a differnt network for better learning
- [] Set up nas solution for local storage and accessible via the web
## Services still using mist local storage (need to migrate to Ceph)
- Uptime Kuma (uptime-kuma-pvc, 500Mi)
- n8n (n8n-pvc, 5Gi)
- Home Assistant (homeassistant-pvc, 10Gi)
- DBeaver (dbeaver-pvc, 5Gi)
- Postgres Prod (postgres-prod-pvc, 20Gi)
- Postgres Dev (postgres-dev-pvc, 20Gi)
- Monica (monica-storage-pvc 1Gi + monica-db-pvc 2Gi)
- Tandoor (tandoor-media-pvc 5Gi + tandoor-postgres-pvc 2Gi)
- Donetick (donetick-pvc, 1Gi)
- Papra (papra-pvc, 10Gi)
- Databasus (databasus-pvc, 500Mi)
- wger (wger-media-pvc 5Gi + wger-postgres-pvc 2Gi + wger-static-pvc 2Gi)
- Certs (certs-pvc, 1Mi)
- Pihole (pihole-pv, 5Gi - Released/unused)

34
TODO.md
View file

@ -1,34 +0,0 @@
## AWS S3 + Terraform Setup (TODO - do first)
- [ ] Create new S3 bucket for Terraform state (e.g. `juntekim-terraform-state`)
- [ ] Enable versioning on the bucket
- [ ] Set up Terraform with S3 backend pointing to new bucket
- [ ] Use Terraform to define new infra (start with what exists, then expand)
- [ ] Store all future infra changes via version-controlled Terraform in Forgejo
## Forgejo Backup (TODO)
- [ ] Set up restic CronJob to back up forgejo-pvc (/data) to S3
- Mount forgejo-pvc read-only in CronJob
- Use restic to snapshot to S3 bucket (need: S3_BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, RESTIC_PASSWORD)
- Schedule: daily
- [ ] Forgejo postgres backup via databasus (separate)
- [ ] Test restore from restic snapshot
figure out how to do a back up for a small pvc and pv using traefik as the example
how would i back everything in ceph storage to aws like i used to do in mist cron job when i it was just the local host
un mount the storage class once i got rid of everything
## Services still using mist local storage (need to migrate to Ceph)
- Uptime Kuma (uptime-kuma-pvc, 500Mi)
- n8n (n8n-pvc, 5Gi)
- Home Assistant (homeassistant-pvc, 10Gi)
- DBeaver (dbeaver-pvc, 5Gi)
- Postgres Prod (postgres-prod-pvc, 20Gi)
- Postgres Dev (postgres-dev-pvc, 20Gi)
- Monica (monica-storage-pvc 1Gi + monica-db-pvc 2Gi)
- Tandoor (tandoor-media-pvc 5Gi + tandoor-postgres-pvc 2Gi)
- Donetick (donetick-pvc, 1Gi)
- Papra (papra-pvc, 10Gi)
- Databasus (databasus-pvc, 500Mi)
- wger (wger-media-pvc 5Gi + wger-postgres-pvc 2Gi + wger-static-pvc 2Gi)
- Certs (certs-pvc, 1Mi)
- Pihole (pihole-pv, 5Gi - Released/unused)