diplonat helps you exposing your public services in a dynamic environment
Go to file
Quentin 154546a7b4 Split logic in multiple files! 2020-05-09 16:27:54 +02:00
src Split logic in multiple files! 2020-05-09 16:27:54 +02:00
.gitignore Start to modularize 2020-05-09 15:33:02 +02:00
Cargo.lock Rewrite with anyhow 2020-05-09 16:04:06 +02:00
Cargo.toml Rewrite with anyhow 2020-05-09 16:04:06 +02:00
README.md Add comments 2020-05-08 10:58:04 +02:00

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