mps-site: remove hacky workaround for tcv
This commit is contained in:
parent
3adfffb563
commit
4aec3697b9
1 changed files with 0 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue