about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-09 12:14:14 +0200
committerEmile <hanemile@protonmail.com>2019-10-09 12:14:14 +0200
commit0aeb3c1718a77f87521d614c163ad204a8d41b40 (patch)
treee5b09cc7aaada5813ff74ebb899dcd63547c3593
parent2258847e834a98e34d97cd05cc50b9e789f92625 (diff)
inserting the HOSTNAME envvar into the docker-compose file
-rw-r--r--docker-compose.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 38f9b7f..6b3f885 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -29,6 +29,8 @@ services:
             - "/var/run/docker.sock:/var/run/docker.sock:ro"
         ports:
             - "8081:8081"
+        environment:
+            - HOSTNAME=${HOSTNAME}
         labels:
             - "traefik.enable=true"
             - "traefik.http.routers.register.entrypoints=web"