Run terraria over haproxy
This commit is contained in:
parent
a18d49d836
commit
224ebee5c2
@ -6,6 +6,8 @@
|
|||||||
- { port: "{{ haproxy.ports.https }}", ipv: "v6", proto: "tcp" }
|
- { port: "{{ haproxy.ports.https }}", ipv: "v6", proto: "tcp" }
|
||||||
- { port: "2442", ipv: "v4", proto: "tcp" }
|
- { port: "2442", ipv: "v4", proto: "tcp" }
|
||||||
- { port: "2442", ipv: "v6", proto: "tcp" }
|
- { port: "2442", ipv: "v6", proto: "tcp" }
|
||||||
|
- { port: "7777", ipv: "v4", proto: "tcp" }
|
||||||
|
- { port: "7777", ipv: "v6", proto: "tcp" }
|
||||||
- { port: "64738", ipv: "v4", proto: "tcp" }
|
- { port: "64738", ipv: "v4", proto: "tcp" }
|
||||||
- { port: "64738", ipv: "v6", proto: "tcp" }
|
- { port: "64738", ipv: "v6", proto: "tcp" }
|
||||||
- { port: "25565", ipv: "v4", proto: "tcp" }
|
- { port: "25565", ipv: "v4", proto: "tcp" }
|
||||||
@ -35,6 +37,7 @@
|
|||||||
- {expose: 2442, proxy: 2443, group: "dev"} # Gitea SSH
|
- {expose: 2442, proxy: 2443, group: "dev"} # Gitea SSH
|
||||||
- {expose: 64738, proxy: "{{ global.social.murmur.port }}", group: "social"} # Mumble
|
- {expose: 64738, proxy: "{{ global.social.murmur.port }}", group: "social"} # Mumble
|
||||||
- {expose: 25565, proxy: "{{ global.games.minecraft.port }}", group: "games"} # Minecraft
|
- {expose: 25565, proxy: "{{ global.games.minecraft.port }}", group: "games"} # Minecraft
|
||||||
|
- {expose: 7777, proxy: "{{ global.games.terraria.port }}", group: "games"} # Terraria
|
||||||
redirect:
|
redirect:
|
||||||
prefix:
|
prefix:
|
||||||
- { pfx: "/web", acl: '{ hdr_beg(host) -i seed } { url / }' }
|
- { pfx: "/web", acl: '{ hdr_beg(host) -i seed } { url / }' }
|
||||||
|
@ -37,7 +37,8 @@
|
|||||||
terraria:
|
terraria:
|
||||||
world: "Main"
|
world: "Main"
|
||||||
bind:
|
bind:
|
||||||
port: "7777"
|
ip: "{{ ansible_ens10.ipv4.address }}"
|
||||||
|
port: "{{ global.games.terraria.port }}"
|
||||||
paths:
|
paths:
|
||||||
data: "/mnt/terraria"
|
data: "/mnt/terraria"
|
||||||
configs:
|
configs:
|
||||||
@ -96,8 +97,6 @@
|
|||||||
firewall:
|
firewall:
|
||||||
- { port: "{{ factorio.bind.port }}", ipv: "v4", proto: "udp" }
|
- { port: "{{ factorio.bind.port }}", ipv: "v4", proto: "udp" }
|
||||||
- { port: "{{ factorio.bind.port }}", ipv: "v6", proto: "udp" }
|
- { port: "{{ factorio.bind.port }}", ipv: "v6", proto: "udp" }
|
||||||
- { port: "{{ terraria.bind.port }}", ipv: "v4", proto: "tcp" }
|
|
||||||
- { port: "{{ terraria.bind.port }}", ipv: "v6", proto: "tcp" }
|
|
||||||
roles:
|
roles:
|
||||||
- vault
|
- vault
|
||||||
- mounts
|
- mounts
|
||||||
|
@ -40,3 +40,5 @@ global:
|
|||||||
port: 25560
|
port: 25560
|
||||||
factorio:
|
factorio:
|
||||||
port: 2333
|
port: 2333
|
||||||
|
terraria:
|
||||||
|
port: 7776
|
||||||
|
Reference in New Issue
Block a user