diplonat helps you exposing your public services in a dynamic environment
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
Diplonat
cargo build
consul agent -dev # in a separate terminal
# adapt following values to your configuratio
export DIPLONAT_PRIVATE_IP="192.168.0.18"
export DIPLONAT_REFRESH_TIME="60"
export DIPLONAT_EXPIRATION_TIME="300"
export DIPLONAT_CONSUL_NODE_NAME="lheureduthe"
cargo run