-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmumble.hcl
57 lines (48 loc) · 1.18 KB
/
mumble.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
job "mumble" {
datacenters = ["dc1"]
type = "service"
constraint {
attribute = "${attr.cpu.arch}"
value = "amd64"
}
group "voice" {
network {
port "voice-udp" {
to = 64738
}
}
service {
port = "voice-udp"
tags = [
"traefik.enable=true",
"traefik.tcp.routers.mumble-tcp.rule=HostSNI(`mumble.dbyte.xyz`)",
"traefik.tcp.routers.mumble-tcp.tls.passthrough=true",
"traefik.tcp.routers.mumble-tcp.entrypoints=voice-tcp",
"traefik.udp.routers.mumble-udp.entrypoints=voice-udp",
"prometheus.io/scrape=false"
]
}
task "mumble" {
driver = "docker"
config {
image = "mumblevoip/mumble-server:latest"
ports = ["voice-udp"]
hostname = "mumble.dbyte.xyz"
#hostname = "hermes.internal"
}
template {
data = <<EOF
MUMBLE_SUPERUSER_PASSWORD={{ key "mumble/admin/password" }}
MUMBLE_CONFIG_WELCOMETEXT="Ahh! SuperNintendo Chalmers!"
MUMBLE_CONFIG_ALLOWHTML=true
EOF
destination = "local/env"
env = true
}
resources {
cpu = 300
memory = 100
}
}
}
}