Explorar o código

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

Paul-Dieter Klumpp %!s(int64=7) %!d(string=hai) anos
pai
achega
3279adc24b
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  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