🔧 Interpolating hostname of Docker Host

This commit is contained in:
2021-10-19 12:40:13 -07:00
parent 98e49a6e73
commit c3a91ef39f
2 changed files with 4 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ services:
image: frishi/threetwo
container_name: threetwo-ui
env_file: ./docker-compose.env
environment:
DOCKERHOST: "{{.Node.Hostname}}"
restart: unless-stopped
labels:
- "traefik.enable=true"