Containerize most popular Twitch chat logging service used by popular community-built Twitch IRC apps like Dankchat e.g.
This repo provide a baseline for k8s environment, you may need to adjust some config based on your own cluster setup.
NOTE: Use the project in private endpoint only. If looking for public access, see robotty's site for more privacy regulation's info.
See https://recent-messages.robotty.de/ for all kinds of information you might want.
Using ConfigMap as workaround to store secret in current stage; Use at your own risk.
- Edit config in configmap.yaml based on config.toml, twitch access token is a must
- Apply deployment via
kubectl apply -f deployment/
This will deploy a recent-message2 with a postgres DB(stateful, for local test only)
Additional, you may want to expose your service to outra-net via some services, like cloudflare i am using here.
Note: We are using k8s secret here, consider using a vault for better security.
- Create a Cloudflare tunnel by
cloudflared tunnel create <tunnel>
- Using
cloudflared tunnel route dns <tunnel> <hostname>
to assign DNS record to the tunnel - Reference file from Cloudflare to deploy instances.
- containerize to docker image
- deployable k8s file
- CI/CD pipeline with GitOps
- optimized docker image
- contianerize web and monitoring