-
Notifications
You must be signed in to change notification settings - Fork 0
/
mumble.hcl
56 lines (47 loc) · 1.11 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
job "mumble" {
datacenters = ["dc1"]
type = "service"
constraint {
attribute = "${attr.cpu.arch}"
value = "amd64"
}
group "voice" {
network {
port "voice" {
to = 64738
}
}
service {
port = "voice"
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"]
hostname = "mumble.dbyte.xyz"
}
template {
data = <<EOF
MUMBLE_SUPERUSER_PASSWORD="JaNLNcEwaetq"
MUMBLE_CONFIG_WELCOMETEXT="Ahh! SuperNintendo Chalmers!"
MUMBLE_CONFIG_ALLOWHTML=true
EOF
destination = "local/env"
env = true
}
resources {
cpu = 300
memory = 100
}
}
}
}