Skip to content

Commit

Permalink
add thai tech cal
Browse files Browse the repository at this point in the history
  • Loading branch information
kahnwong committed Oct 13, 2024
1 parent 648344a commit 17cca66
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 7 deletions.
3 changes: 3 additions & 0 deletions caddy/config/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,6 @@ pdf.karnwong.me {
plausible.karnwong.me {
reverse_proxy 192.168.1.36:30044
}
thai-tech-cal.karnwong.me {
reverse_proxy 192.168.1.51:30046
}
4 changes: 2 additions & 2 deletions cloudflare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ All users - API Tokens:Edit
| Name | Version |
|------|---------|
| cloudflare | ~> 4.40.0 |
| cloudflare | ~> 4.43.0 |
| sops | 1.1.1 |
## Providers
| Name | Version |
|------|---------|
| cloudflare | 4.40.0 |
| cloudflare | 4.43.0 |
| sops | 1.1.1 |
## Modules
Expand Down
3 changes: 2 additions & 1 deletion cloudflare/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ locals {
"music",
"ntfy",
"pdf",
"pmtiles",
"plausible",
"pmtiles",
"podgrab",
"qa-api",
"rustpad",
"secrets",
"thai-tech-cal",
"wakapi",
])
selfhosted_non_proxied = setunion(toset([
Expand Down
6 changes: 3 additions & 3 deletions cloudflare/terraform.tfvars.sops
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"data": "ENC[AES256_GCM,data:IOOpxSPSKII9eJI/GutxfuhU3cl5cLMT8Rt2nkie0eVsw8Xy6/hfgUSXK1yUCFSI6+iVsqMfyMGAw+qcKoHULQyjyugkKg+5IayUxAqIQbU4qp1DAlcIlPWQJ+BIz+4yoKwsgOh2aIt6H/vo8ePiqzA6s1RIoVcXVolTpC4cTe4dU3Fnp1OxGNJXG7fHYUxvBHc6B5GR17BegRHlZDZ2qkNkOGlOOkhRsA3F56iW/ECDLTP0fkoiRa6DRXP5tJG1V+NFIRIDpwxWoGIpOJiRQ4GSuRElf7jzf9BR6ZCGrdVAG4B2DbWyDR4TkF/RvdvUfVq9jy6unYE=,iv:sj2mkHr6ytIjVKGckJGuh4kCJvQHLd1E1ipqnNIpDQg=,tag:dwFdg8uxUeHSRdAZ1W6pAw==,type:str]",
"data": "ENC[AES256_GCM,data:MLruKBBNOc1uvQkyqvaGcRPMpU+tgR2eE6Cy9Q3ZdhzU9m9CKgP/0mjObAIIpq6pT9/5oQkk/T5wnNqCttv+/ZdYIfVmpLG/AlHZyNUfTCknvN6+T3FNOBb1oZnTO1Wg82tnhOppohp/lGPAFASJVcHgMMZiUgKqI6AO21DfHEAQWxdTuUl604EJ5ARdq24/8U3T32e0DtS2SSt0EnDzjdTdjFNHVsNMX0rxP7fSI1Tlo/gIOVVe5leOYiP8PTuEiUhrLJAi1wxC/gFpKGrQ/3xtAiKBO0SJ2EhF8Nf1t7cr4qrFnWITLBtHj92Xfsw=,iv:f860dijW6f9B5fw0UN4aTbr1iqTGz5tUyTNJbYTPY6k=,tag:LzmAeFx8EGzksjY9hpAkjA==,type:str]",
"sops": {
"kms": null,
"gcp_kms": null,
Expand All @@ -11,8 +11,8 @@
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBKOXBpRExJM0dXNHFxRDEr\nbFZBamVDdVlGU0FFc2FZSTJCVVpQeTBURHl3CjRzZXlVQ2lUNG15cFlYMmZzSjNa\nWXZETVNybWZpakJWeUNmcDJTcnMyS0EKLS0tIEcrZGVOai9rUEdWTDI5Ny9KOW52\nTUxOTUlaSE5UTnE3SmxFa0JJa25taDAKbas+wQyZpgfRWndt5/rFo/ynhlegGUFH\nK+go8KxyiCYetKWFb6LL1XbuqLrcknHAbW7qPflYgUW5i/L0yieFVA==\n-----END AGE ENCRYPTED FILE-----\n"
}
],
"lastmodified": "2024-07-26T12:19:52Z",
"mac": "ENC[AES256_GCM,data:k+eq30KxUj3wp+ecjooGfqih6O+npegWJ81/tRz2Znx7Rdwg7UFaPingAN+xuO2JRrNV/RxMLphAF9A9zfW2AFEr5VUCtkJ/DqqNBk9Fh8VeHWqYizlUlwnJrGTRUvGGyha7YglVNnnmRVFX4Wo0IxakPACKnBSmoRGaWCDjGK0=,iv:z0QBk5q4HMJdVoeRHTX4gUcEmhZs7SEnzjRMT8mT1UE=,tag:R4bOxKQPlaPpxZ0S4fdz0A==,type:str]",
"lastmodified": "2024-10-13T10:56:32Z",
"mac": "ENC[AES256_GCM,data:IRS+rn45pkc1ZKWHoEqrM8xoXWpD7J6aLwan30fkcNYaAxhb8sdhFcG8qtlICsRiwAm9DfUzXKJYu5EXbStbb/3RoF8XrGyb7IcEydAFo41SQQP+4f61zx30tyvLJg8/YI4DAq9k5v1VqkIga7fZZBXP4M1rlET3N8eiC3JHcQM=,iv:J4Ij0rlFGe/wVU2enICn2vXRVr4eBeBuLiu3/fKVUI4=,tag:IXw/uYDqhEl72syDHiKSrw==,type:str]",
"pgp": null,
"unencrypted_suffix": "_unencrypted",
"version": "3.9.0"
Expand Down
3 changes: 2 additions & 1 deletion kubernetes/clusters/snikt/deployments.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ locals {
default = ["dashy", "linkding", "memos", "subsonic-widgets"]
news = [
"miniflux", "miniflux-postgres",
"wallabag", "wallabag-postgres", "wallabag-redis"
"wallabag", "wallabag-postgres", "wallabag-redis",
"thai-tech-cal",
]
infrastructure = [
"gitea", "gitea-postgres",
Expand Down
26 changes: 26 additions & 0 deletions kubernetes/clusters/snikt/helm/deployments/news/thai-tech-cal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
kind: Deployment
name: thai-tech-cal
replicaCount: 1

containers:
- name: thai-tech-cal
repository: ghcr.io/kahnwong/ical-to-rss
tag: dedefb5
port: 3000
env:
- name: ICAL_URL
value: "https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics"
- name: FEED_TITLE
value: "รวม อัพเดท Tech event, Tech Meetup ในไทยไว้ในที่เดียว"
- name: FEED_DESCRIPTION
value: ""
- name: FEED_AUTHOR_NAME
value: "creatorsgarten"
- name: FEED_AUTHOR_EMAIL
value: ""
- name: MODE
value: "PRODUCTION"
service:
port: 3000
nodePort: 30046

0 comments on commit 17cca66

Please sign in to comment.