mps-site: remove hacky workaround for tcv

This commit is contained in:
wizzdom 2024-12-11 00:10:23 +00:00
parent 3adfffb563
commit 4aec3697b9
No known key found for this signature in database
GPG key ID: EEB7D796F4B09F07

View file

@ -46,9 +46,6 @@ job "mps-site" {
username = "${DOCKER_USER}"
password = "${DOCKER_PASS}"
}
volumes = [
"local/hosts:/etc/hosts",
]
}
template {
@ -60,23 +57,6 @@ EOH
env = true
}
template {
data = <<EOF
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.17.0.17 {{ env "NOMAD_TASK_NAME" }}
# use internal IP for thecollegeview.ie as external IP isn't routable
192.168.0.158 thecollegeview.ie
192.168.0.158 www.thecollegeview.ie
EOF
destination = "local/hosts"
}
resources {
cpu = 300
memory = 500