From 2e8923b383eb06c53261eee8e5c442b857fb67e4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Aug 2022 15:42:47 +0200 Subject: Move app files into cluster subdirectories; add prod garage --- app/jitsi/deploy/jitsi.hcl | 257 --------------------------------------------- 1 file changed, 257 deletions(-) delete mode 100644 app/jitsi/deploy/jitsi.hcl (limited to 'app/jitsi/deploy/jitsi.hcl') diff --git a/app/jitsi/deploy/jitsi.hcl b/app/jitsi/deploy/jitsi.hcl deleted file mode 100644 index 7e12ae3..0000000 --- a/app/jitsi/deploy/jitsi.hcl +++ /dev/null @@ -1,257 +0,0 @@ -job "jitsi" { - datacenters = ["neptune"] - type = "service" - - priority = "10" - - constraint { - attribute = "${attr.cpu.arch}" - value = "amd64" - } - - group "core" { - - network { - port "bosh_port" { } - port "xmpp_port" { } - port "https_port" { } - port "video_port" { static = 8080 } - } - - task "xmpp" { - driver = "docker" - config { - image = "superboum/amd64_jitsi_xmpp:v10" - ports = [ "bosh_port", "xmpp_port" ] - network_mode = "host" - volumes = [ - "secrets/prosody.cfg.lua:/etc/prosody/prosody.cfg.lua", - "secrets/certs/auth.jitsi.crt:/var/lib/prosody/auth.jitsi.crt", - "secrets/certs/auth.jitsi.key:/var/lib/prosody/auth.jitsi.key", - "secrets/certs/jitsi.crt:/var/lib/prosody/jitsi.crt", - "secrets/certs/jitsi.key:/var/lib/prosody/jitsi.key" - ] - } - - template { - data = <