Parcourir la source

Propagate settting for ipv6 to dockerfile

tags/0.9
9seconds il y a 8 ans
Parent
révision
9c313b3d9b
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3
    2
      Dockerfile

+ 3
- 2
Dockerfile Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer