Expose MC server

It's just a local temp config for now, i'll do something proper later
This commit is contained in:
Jake Howard 2020-04-07 18:43:40 +01:00
parent 9de6c4a515
commit c634b87991
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 16 additions and 0 deletions

View file

@ -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

View file

@ -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"
}

View file

@ -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
}