瀏覽代碼

compose: mtg: add hostname for host access from container

Might be needed for local chained proxy setup.
pull/491/head
Andrey Butirsky 3 天之前
父節點
當前提交
faaa75612f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      contrib/sni-router/docker-compose.yml

+ 2
- 0
contrib/sni-router/docker-compose.yml 查看文件

@@ -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

Loading…
取消
儲存