🔧 Turn DOCKER_SOCKET_HOST into an interpolation

This commit is contained in:
2021-10-19 14:44:47 -07:00
parent 9024c3cce9
commit a51d7a602c

View File

@@ -9,7 +9,7 @@ services:
container_name: threetwo-ui
env_file: ./docker-compose.env
environment:
DOCKER_SOCKET_HOST: "{{.Node.Hostname}}:8051"
DOCKER_SOCKET_HOST: host.docker.internal:8051
restart: unless-stopped
labels:
- "traefik.enable=true"