From 7a97bbe06c0a8eb7b462d87b128c5ca3154eb582 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 26 Oct 2019 21:16:24 +0200 Subject: New seafile version + WIP facebook bridge --- nomad/seafile.hcl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nomad') diff --git a/nomad/seafile.hcl b/nomad/seafile.hcl index 574f6bc..c930396 100644 --- a/nomad/seafile.hcl +++ b/nomad/seafile.hcl @@ -12,7 +12,12 @@ job "seafile" { task "server" { driver = "docker" config { - image = "superboum/amd64_seafile:v4" + image = "superboum/amd64_seafile:v6" + + ## cmd + args are used for running an instance attachable for update + # command = "/bin/sleep" + # args = ["999999"] + port_map { seahub_port = 8000 seafdav_port = 8084 -- cgit v1.2.3 From 1850d9a6539ff88373508327eb9aa1e8832688fa Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 27 Oct 2019 15:26:21 +0100 Subject: [chat] Synapse finally accepts my registration file... --- nomad/chat.hcl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'nomad') diff --git a/nomad/chat.hcl b/nomad/chat.hcl index 50c657b..a0c5397 100644 --- a/nomad/chat.hcl +++ b/nomad/chat.hcl @@ -29,7 +29,7 @@ job "chat" { } artifact { - source = "http://127.0.0.1:8500/v1/kv/configuration/chat/synapse/homeserver.yaml?raw&a=a" + source = "http://127.0.0.1:8500/v1/kv/configuration/chat/synapse/homeserver.yaml?raw" destination = "secrets/tpl/homeserver.yaml.tpl" mode = "file" } @@ -37,6 +37,17 @@ job "chat" { source = "secrets/tpl/homeserver.yaml.tpl" destination = "secrets/conf/homeserver.yaml" } + + artifact { + source = "http://127.0.0.1:8500/v1/kv/configuration/chat/fb2mx/registration.yaml?raw" + destination = "secrets/tpl/fb2mx_registration.yaml.tpl" + mode = "file" + } + template { + source = "secrets/tpl/fb2mx_registration.yaml.tpl" + destination = "secrets/conf/fb2mx_registration.yaml" + } + template { data = "{{ key \"configuration/chat/synapse/log.yaml\" }}" destination = "secrets/conf/log.yaml" -- cgit v1.2.3