diff --git a/new-backend/config.json b/new-backend/config.json index 814bcd6..af021b2 100644 --- a/new-backend/config.json +++ b/new-backend/config.json @@ -4,7 +4,7 @@ "ingress": [ { "hostname": "api.ishikabhoyar.tech", - "service": "http://localhost:8080" + "service": "http://host.docker.internal:8080" }, { "service": "http_status:404" diff --git a/new-backend/docker-compose.tunnel.yml b/new-backend/docker-compose.tunnel.yml index 45a180c..452eeec 100644 --- a/new-backend/docker-compose.tunnel.yml +++ b/new-backend/docker-compose.tunnel.yml @@ -4,11 +4,13 @@ services: context: . dockerfile: Dockerfile.tunnel restart: unless-stopped + extra_hosts: + - "host.docker.internal:host-gateway" volumes: - //var/run/docker.sock:/var/run/docker.sock - # Port is only exposed locally, traffic comes through the tunnel - ports: - - "127.0.0.1:8080:8080" + # No need to expose ports - traffic comes through the tunnel + # ports: + # - "127.0.0.1:8080:8080" environment: - PORT=8080 - CONCURRENT_EXECUTIONS=5