Explorar el Código

Propagate settting for ipv6 to dockerfile

tags/0.9
9seconds hace 8 años
padre
commit
9c313b3d9b
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      Dockerfile

+ 3
- 2
Dockerfile Ver fichero

@@ -29,8 +29,9 @@ ENTRYPOINT ["/usr/local/bin/mtg"]
29 29
 ENV MTG_IP=0.0.0.0 \
30 30
     MTG_PORT=3128 \
31 31
     MTG_STATS_IP=0.0.0.0 \
32
-    MTG_STATS_PORT=3130
33
-EXPOSE 3128 3130
32
+    MTG_STATS_PORT=3129 \
33
+    MTG_USE_IPV6=true
34
+EXPOSE 3128 3129
34 35
 
35 36
 COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
36 37
 COPY --from=0 /go/src/github.com/9seconds/mtg /usr/local/bin/mtg

Loading…
Cancelar
Guardar