aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-12-24 10:01:42 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-12-24 10:01:42 +0100
commitf75497af11cc3a7b4f38fa8d833c5b7de00f28d4 (patch)
tree7456c99e121350079192f36ce018f728d11b6ff4
parent6913655316001a8413f86fde6956855898775f60 (diff)
downloadinfrastructure-f75497af11cc3a7b4f38fa8d833c5b7de00f28d4.tar.gz
infrastructure-f75497af11cc3a7b4f38fa8d833c5b7de00f28d4.zip
Fix service addressing
-rw-r--r--app/deployment/im.hcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/deployment/im.hcl b/app/deployment/im.hcl
index 9667965..cb14144 100644
--- a/app/deployment/im.hcl
+++ b/app/deployment/im.hcl
@@ -92,6 +92,7 @@ job "im" {
service {
name = "synapse-client"
port = "client_port"
+ address_mode = "host"
tags = [
"matrix",
"traefik.enable=true",
@@ -116,7 +117,7 @@ job "im" {
service {
name = "synapse-federation"
port = "federation_port"
- address_mode = "driver"
+ address_mode = "host"
tags = [
"matrix",
"traefik.enable=true",