Fix service addressing
This commit is contained in:
parent
6913655316
commit
f75497af11
1 changed files with 2 additions and 1 deletions
|
@ -92,6 +92,7 @@ job "im" {
|
||||||
service {
|
service {
|
||||||
name = "synapse-client"
|
name = "synapse-client"
|
||||||
port = "client_port"
|
port = "client_port"
|
||||||
|
address_mode = "host"
|
||||||
tags = [
|
tags = [
|
||||||
"matrix",
|
"matrix",
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
|
@ -116,7 +117,7 @@ job "im" {
|
||||||
service {
|
service {
|
||||||
name = "synapse-federation"
|
name = "synapse-federation"
|
||||||
port = "federation_port"
|
port = "federation_port"
|
||||||
address_mode = "driver"
|
address_mode = "host"
|
||||||
tags = [
|
tags = [
|
||||||
"matrix",
|
"matrix",
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
|
|
Reference in a new issue