浏览代码

Added hostname to gluetun service in Torrent-VPN docker-compose.yml

bill 10 月之前
父节点
当前提交
8cf749d4ed
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Torrent-VPN/docker-compose.yml

+ 2 - 0
Torrent-VPN/docker-compose.yml

@@ -3,6 +3,8 @@ services:
   gluetun:
     image: qmcgaw/gluetun
     container_name: gluetun
+    # Hostname to use for container, required in some instances for the rest of the stack to each other endpoints 
+    hostname: gluetun
     # line above must be uncommented to allow external containers to connect.
     # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
     cap_add: