diff options
author | adrien <adrien@luxeylab.net> | 2021-08-25 17:20:31 +0200 |
---|---|---|
committer | adrien <adrien@luxeylab.net> | 2021-08-26 16:05:39 +0200 |
commit | 76fe63791baea5577bde3f83243f85ba781f46fe (patch) | |
tree | 1f7ffed5671f30cbd13093db02d7462183bf1952 /docker-compose.yml | |
parent | fa25c54e47decf9f323ba0c614f4d9de106626d5 (diff) | |
download | diplonat-76fe63791baea5577bde3f83243f85ba781f46fe.tar.gz diplonat-76fe63791baea5577bde3f83243f85ba781f46fe.zip |
Rewrote the configuration options to make Diplonat modular: IGD and Firewall modules will only be enabled if correponding `DIPLONAT_*_ENABLE` is set. (Breaking changes!)
Also rearranged imports throughout the project, because I couldn't resist, sorry.
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 0780c86..ab0dd92 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,10 +5,13 @@ services: image: darkgallium/amd64_diplonat:v2 network_mode: host # required by UPNP/IGD environment: - DIPLONAT_PRIVATE_IP: 192.168.0.18 - DIPLONAT_REFRESH_TIME: 60 - DIPLONAT_EXPIRATION_TIME: 300 DIPLONAT_CONSUL_NODE_NAME: lheureduthe + DIPLONAT_FIREWALL_ENABLE: true + DIPLONAT_FIREWALL_REFRESH_TIME: 60 + DIPLONAT_IGD_ENABLE: true + DIPLONAT_IGD_PRIVATE_IP: 192.168.0.18 + DIPLONAT_IGD_EXPIRATION_TIME: 300 + DIPLONAT_IGD_REFRESH_TIME: 60 RUST_LOG: debug |