Skip to content

Commit

Permalink
Use a dash instead of an underscore, because nomad has rules
Browse files Browse the repository at this point in the history
Co-authored-by: Amin Zare <[email protected]>
Co-authored-by: Trey Pendragon <[email protected]>
Co-authored-by: Eliot Jordan <[email protected]>
Co-authored-by: Shaun Ellis <[email protected]>
Co-authored-by: Sean Warren <[email protected]>
  • Loading branch information
6 people committed May 30, 2024
1 parent 6f95f08 commit 43795dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/deploy/staging.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
job "dpulc_staging" {
job "dpulc-staging" {
region = "global"
datacenters = ["dc1"]
type = "service"
Expand Down Expand Up @@ -35,7 +35,7 @@ job "dpulc_staging" {
env = true
change_mode = "restart"
data = <<EOF
{{- with nomadVar "nomad/jobs/dpulc_staging" -}}
{{- with nomadVar "nomad/jobs/dpulc-staging" -}}
DATABASE_URL = ecto://{{ .DB_USER }}:{{ .DB_PASSWORD }}@{{ .POSTGRES_HOST }}/{{ .DB_NAME }}
SECRET_KEY_BASE = {{ .SECRET_KEY_BASE }}
{{- end -}}
Expand All @@ -54,7 +54,7 @@ job "dpulc_staging" {
env = true
change_mode = "restart"
data = <<EOF
{{- with nomadVar "nomad/jobs/dpulc_staging" -}}
{{- with nomadVar "nomad/jobs/dpulc-staging" -}}
DATABASE_URL = ecto://{{ .DB_USER }}:{{ .DB_PASSWORD }}@{{ .POSTGRES_HOST }}/{{ .DB_NAME }}
SECRET_KEY_BASE = {{ .SECRET_KEY_BASE }}
{{- end -}}
Expand Down

0 comments on commit 43795dc

Please sign in to comment.