瀏覽代碼

bind to correct host-port by default in the compose file

Paul-Dieter Klumpp 7 年之前
父節點
當前提交
3279adc24b
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      docker-compose.yml

+ 6 - 6
docker-compose.yml

@@ -5,10 +5,10 @@ services:
     build: ./
     image: lasange:masterserver
     ports:
-      - "27000/udp"
-      - "27650/udp"
-      - "27900/udp"
-      - "27950/udp"
-      - "27951/udp"
-      - "28900/udp"
+      - "27000:27000/udp"
+      - "27650:27650/udp"
+      - "27900:27900/udp"
+      - "27950:27950/udp"
+      - "27951:27951/udp"
+      - "28900:28900/udp"
     # see https://docs.docker.com/compose/compose-file/#ports