Browse Source

Make Docker image listening on ipv6 as well as ipv4

Signed-off-by: Cédric Laudrel <dek@iono.me>
Cédric Laudrel 5 years ago
parent
commit
379376e5e6
2 changed files with 3 additions and 2 deletions
  1. 1 0
      changelog.d/4089.feature
  2. 2 2
      docker/conf/homeserver.yaml

+ 1 - 0
changelog.d/4089.feature

@@ -0,0 +1 @@
+ Configure Docker image to listen on both ipv4 and ipv6.

+ 2 - 2
docker/conf/homeserver.yaml

@@ -21,7 +21,7 @@ listeners:
   {% if not SYNAPSE_NO_TLS %}
   -
     port: 8448
-    bind_addresses: ['0.0.0.0']
+    bind_addresses: ['::']
     type: http
     tls: true
     x_forwarded: false
@@ -34,7 +34,7 @@ listeners:
 
   - port: 8008
     tls: false
-    bind_addresses: ['0.0.0.0']
+    bind_addresses: ['::']
     type: http
     x_forwarded: false