diplonat helps you exposing your public services in a dynamic environment
Find a file
2020-05-08 10:58:04 +02:00
src Add README 2020-05-08 10:57:10 +02:00
.gitignore Initial commit 2020-02-12 18:33:10 +01:00
Cargo.lock consul lib does not work for us, switching to reqwest 2020-02-14 10:46:39 +01:00
Cargo.toml consul lib does not work for us, switching to reqwest 2020-02-14 10:46:39 +01:00
README.md Add comments 2020-05-08 10:58:04 +02:00

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