diff --git a/caddy/config/Caddyfile b/caddy/config/Caddyfile index a85ff20b..5d70078a 100644 --- a/caddy/config/Caddyfile +++ b/caddy/config/Caddyfile @@ -121,3 +121,6 @@ gist.karnwong.me { wakapi.karnwong.me { reverse_proxy 192.168.1.36:30041 } +go.karnwong.me { + reverse_proxy 192.168.1.36:30042 +} diff --git a/cloudflare/dns.tf b/cloudflare/dns.tf index e0cdb721..67f48f14 100644 --- a/cloudflare/dns.tf +++ b/cloudflare/dns.tf @@ -11,6 +11,7 @@ locals { "dagster", "excalidraw", "gist", + "go", "immich", "linkding", "memos", diff --git a/kubernetes/clusters/snikt/configmaps/dashy.sops.yaml b/kubernetes/clusters/snikt/configmaps/dashy.sops.yaml index 2dad1223..452d296a 100644 --- a/kubernetes/clusters/snikt/configmaps/dashy.sops.yaml +++ b/kubernetes/clusters/snikt/configmaps/dashy.sops.yaml @@ -44,6 +44,9 @@ sections: - title: ENC[AES256_GCM,data:txXxh2ki,iv:h8jwU9d4tUv+xjsNw4sAKWeHjVk3sWs6YQPiW5BTaf4=,tag:3WOgYHGC7PN+Ax5urzqSkg==,type:str] icon: ENC[AES256_GCM,data:mphUmMB1BFP8,iv:m3i9YXob1KkI2o925IcmYOS3DIGxNDMX0anFBUO7reI=,tag:NbfUbE32RDE3Fs0/D6c4JA==,type:str] url: ENC[AES256_GCM,data:4qxJ27HmeoqNgAsniyPRJ383Cr9hG1hHP49Q,iv:XHqW5D4Q1uQn3/d0kxO6e21FFZCfZ9V3SbHN5nUVjMY=,tag:111eI4pwuqLz49Ti2dtwBw==,type:str] + - title: ENC[AES256_GCM,data:giA=,iv:LJDwJogmQKge/HWjMGGU03GTB8BQqacIx19+t5znkmA=,tag:MCcEVqo9xQL+mZ9Bv1E4iQ==,type:str] + icon: ENC[AES256_GCM,data:9wbcoD8=,iv:VjPL6FZ587Ab/7sK0WW1sr8jGOgtPlcZgQS8pd00TBs=,tag:YVTx6oJVtw34AXoIkG8Uqw==,type:str] + url: ENC[AES256_GCM,data:qaV69KogEc6xqzHYlk5ujw8vNDmvOgQ=,iv:XVMbVxa9VGWd5Dmg/4w4VDGZDSKkDKBkWLdhZEDkPO0=,tag:1H0d6HHNrIZp+hZSGMDt4Q==,type:str] - title: ENC[AES256_GCM,data:8AU/OpTV9GE=,iv:8y5zZGeV+iSmIyLehMCBKG/I4aCFEvN5sgyFlPkWQVo=,tag:Qjcfvvjbz/tpy1UPlqKPJw==,type:str] icon: ENC[AES256_GCM,data:87LBJhMo/Hnw/LI=,iv:d2D67a6uWoetwoVJ9ktuLmszhV+raOLtok6rTBdUdpc=,tag:blqAAtxSJ8IR4wqVlU63VA==,type:str] url: ENC[AES256_GCM,data:01Z8js/7AQFiRrz32HHVx6UsZ4dzPT4fUyaQuNc=,iv:QJTTHSttzoL2w3VwqoRb7dn2DbJe5PBsaMe1jDmVOco=,tag:fVSjPCc7MpUD07pdhgoGmw==,type:str] @@ -157,8 +160,8 @@ sops: YUs3cXA2TnB4c21FQzg0bnFyTkRDejgKzf7PO4qiPs7dWhWadFXEwXmawv1p2xwZ Vjnq6Nqhj2Cvt+fCAh0wMHi1kI8XIjDoOMcwweKgjFMkv86gBkgtLg== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-08-03T11:42:59Z" - mac: ENC[AES256_GCM,data:wcrqKONtbCBu3ax6GKA2O8qAziFsOwY9y4tbOlLaiWnNZL8bSsY6mzdPb8Almpay249Ex0D7wjU952n2TBUMBXLpoPpXaHg64dtLfDPN8BqfVMMXjydtGUlb3qKrx9wgFQPg4hDcFBXeGgwEbBcPuf7YSX4Z7UrX6s4XnK1cNYA=,iv:0CK6KbBT2g6Z4gsh7SfoVRhLS8MYyxeP2H3hcCeMaUY=,tag:soxxdBcelXaaHSMljpJTtg==,type:str] + lastmodified: "2024-08-03T12:35:31Z" + mac: ENC[AES256_GCM,data:PwwI5JQa2Eztcgggs0YIZzEHM/TsAJOxaaSrS7lvqcHlup7w+mHScDFL6raCNYhZvt9jg7XiJg4LbQ5I4/Iq6fKawQ0Q4wEGqyF1WY6EM9P7tWLa7WGmSXKNkyFqazEPzvcTsLu8e6Q7A76wUv2lkiMX3p/yFHXPT0Br9F+TjNs=,iv:3r/GWJO4ZBYX80GfUFSjA6GIsEk39OftPxwhJiWwTmQ=,tag:7N2xgeyNXgilVBS5SVo3gQ==,type:str] pgp: [] unencrypted_suffix: _unencrypted version: 3.9.0 diff --git a/kubernetes/clusters/snikt/deployments.tf b/kubernetes/clusters/snikt/deployments.tf index fc599b00..730fea86 100644 --- a/kubernetes/clusters/snikt/deployments.tf +++ b/kubernetes/clusters/snikt/deployments.tf @@ -16,7 +16,7 @@ locals { tools = [ "livegrep-backend", "livegrep-frontend", "supersecretmessage", "supersecretmessage-vault", - "excalidraw", "opengist", "picoshare", "rustpad", "sshx", + "excalidraw", "go-playground", "opengist", "picoshare", "rustpad", "sshx", # "stirling-pdf", ] }) diff --git a/kubernetes/clusters/snikt/helm/deployments/tools/go-playground.yaml b/kubernetes/clusters/snikt/helm/deployments/tools/go-playground.yaml new file mode 100644 index 00000000..a0f38423 --- /dev/null +++ b/kubernetes/clusters/snikt/helm/deployments/tools/go-playground.yaml @@ -0,0 +1,16 @@ +--- +kind: Deployment +name: go-playground +replicaCount: 1 + +containers: + - name: go-playground + repository: x1unix/go-playground + tag: 2.0.2 + port: 8000 + env: + - name: APP_CLEAN_INTERVAL + value: '30m' +service: + port: 8000 + nodePort: 30042