소스 검색

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…
취소
저장