소스 검색

added a dns name for the docker host

Christian Kahlau 2 년 전
부모
커밋
be3ea8f0d6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      server.docker-compose.yml

+ 2 - 0
server.docker-compose.yml

@@ -16,6 +16,8 @@ services:
       - 'data-dir:/home/node/monitoring/data'
     links:
       - mariadb
+    extra_hosts:
+      - host.docker.internal:host-gateway
     restart: always
   mariadb:
     build: