Expose MC server
It's just a local temp config for now, i'll do something proper later
This commit is contained in:
parent
9de6c4a515
commit
c634b87991
3 changed files with 16 additions and 0 deletions
|
@ -2,6 +2,7 @@ haproxy:
|
||||||
exposed_ports:
|
exposed_ports:
|
||||||
- 8448
|
- 8448
|
||||||
- 4242
|
- 4242
|
||||||
|
- 25566
|
||||||
stats_pass: !vault |
|
stats_pass: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
61356632383432353833616431393962613037646634656133316135363465313962663061633830
|
61356632383432353833616431393962613037646634656133316135363465313962663061633830
|
||||||
|
|
|
@ -50,3 +50,10 @@ resource "vultr_firewall_rule" "casey_matrix" {
|
||||||
from_port = 8448
|
from_port = 8448
|
||||||
network = "0.0.0.0/0"
|
network = "0.0.0.0/0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "vultr_firewall_rule" "casey_mc" {
|
||||||
|
firewall_group_id = vultr_firewall_group.casey.id
|
||||||
|
protocol = "tcp"
|
||||||
|
from_port = 25566
|
||||||
|
network = "0.0.0.0/0"
|
||||||
|
}
|
||||||
|
|
|
@ -187,3 +187,11 @@ resource "cloudflare_record" "jakehowardtech_calibre" {
|
||||||
type = "A"
|
type = "A"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "jakehowardtech_mc" {
|
||||||
|
zone_id = cloudflare_zone.jakehowardtech.id
|
||||||
|
name = "mc"
|
||||||
|
value = vultr_server.casey.main_ip
|
||||||
|
type = "A"
|
||||||
|
ttl = 1
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue