aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-23 16:29:02 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-23 16:29:02 +0200
commit5dd4544360906de246de9e33abbfd741681d2fea (patch)
treebdb1c52d7085023a827b80f99619a747d2125b95 /docker-compose.yml
parent3e2ea02d62e0d8fd77e46e6dc5e0318584fb16dc (diff)
downloaddiplonat-5dd4544360906de246de9e33abbfd741681d2fea.tar.gz
diplonat-5dd4544360906de246de9e33abbfd741681d2fea.zip
Dockerize app
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..5e8e190
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,14 @@
+version: '3.4'
+services:
+ diplonat:
+ build: .
+ image: superboum/amd64_diplonat:v1
+ 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
+ RUST_LOG: debug
+
+