add docker host gateway

This commit is contained in:
HTWKalender Team
2024-08-08 11:06:36 -04:00
parent 8e039c4ecb
commit f9a6ba8f1c

View File

@ -5,7 +5,8 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- "7200:7200" - "7200:7200"
network_mode: host extra_hosts:
- "host.docker.internal:host-gateway"
volumes: volumes:
- ./configuration.yaml:/go/src/app/configuration.yaml - ./configuration.yaml:/go/src/app/configuration.yaml
restart: unless-stopped restart: unless-stopped