Use externally hosted version of cns-api
This commit is contained in:
parent
b894c33b98
commit
cdc89dff8d
1 changed files with 2 additions and 19 deletions
|
@ -14,10 +14,6 @@ job "nova-timetable" {
|
|||
to = 5432
|
||||
}
|
||||
|
||||
port "cns" {
|
||||
to = 2000
|
||||
}
|
||||
|
||||
port "frontend" {
|
||||
to = 3000
|
||||
}
|
||||
|
@ -27,19 +23,6 @@ job "nova-timetable" {
|
|||
}
|
||||
}
|
||||
|
||||
task "cns" {
|
||||
driver = "docker"
|
||||
|
||||
env {
|
||||
PORT = "${NOMAD_PORT_cns}"
|
||||
}
|
||||
|
||||
config {
|
||||
image = "ghcr.io/cheeselad/clubsandsocs-api:latest"
|
||||
ports = ["cns"]
|
||||
}
|
||||
}
|
||||
|
||||
task "frontend" {
|
||||
driver = "docker"
|
||||
|
||||
|
@ -79,8 +62,8 @@ job "nova-timetable" {
|
|||
env {
|
||||
BACKEND_PORT = "${NOMAD_PORT_backend}"
|
||||
REDIS_ADDRESS = "${NOMAD_ADDR_redis}"
|
||||
CNS_HOST = "${NOMAD_IP_cns}"
|
||||
CNS_PORT = "${NOMAD_PORT_cns}"
|
||||
CNS_HOST = "clubsandsocs.jakefarrell.ie"
|
||||
CNS_PORT = "443"
|
||||
}
|
||||
|
||||
config {
|
||||
|
|
Loading…
Reference in a new issue