Pārlūkot izejas kodu

compose: mtg: add hostname for host access from container

Might be needed for local chained proxy setup.
pull/491/head
Andrey Butirsky 2 dienas atpakaļ
vecāks
revīzija
faaa75612f
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      contrib/sni-router/docker-compose.yml

+ 2
- 0
contrib/sni-router/docker-compose.yml Parādīt failu

@@ -36,6 +36,8 @@ services:
36 36
     expose:
37 37
       - "3128"
38 38
     restart: unless-stopped
39
+    extra_hosts:
40
+      - "host.containers.internal:host-gateway"
39 41
 
40 42
   web:
41 43
     image: caddy:alpine

Notiek ielāde…
Atcelt
Saglabāt