diplonat helps you exposing your public services in a dynamic environment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Quentin 154546a7b4 Split logic in multiple files! 1 year ago
src Split logic in multiple files! 1 year ago
.gitignore Start to modularize 1 year ago
Cargo.lock Rewrite with anyhow 1 year ago
Cargo.toml Rewrite with anyhow 1 year ago
README.md Add comments 1 year ago

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