mc-ingress/README.md
2026-07-09 02:03:39 +02:00

947 B

Development

TODO: fill this out

Debugging:

This branch has extra debug capibilities:

nix-shell -p tokio-console
tokio-console http://yamia.bound:30669

Kubernetes test deployment

./upload.sh
# sudo kubectl apply -f kube/test-deployment.yaml # Apply the test deployment if it wasn't already
sudo kubectl rollout restart deployment minecraft-ingress

Nix shell with tmux

In the nix flake there is a devshell setup with cargo and tmux. When using tmux it uses a set tmux server path, so only this project uses it.

Env variables:

# Address the server should bind to
# BIND_ADDR="0.0.0.0:25565"

# Filter appplied with [evalexpr](https://docs.rs/evalexpr/latest/evalexpr/)
#   The "context" has the addr variable populated with the address of part of the
#   handshake packet. Custom filter can be specified, and drop any
#   connections which match the filter.
# FILTER_CONN='(addr == "10.100.0.1")'