env variables
This commit is contained in:
parent
484ae7c654
commit
b9cb84beb3
1 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
env "stripe_invoice_dev" {
|
env "stripe_invoice_dev" {
|
||||||
url = "postgres://"+env("POSTGRES_USER")+":"+env("POSTGRES_PASSWORD")+
|
url = "postgres://${env("POSTGRES_USER")}:${env("POSTGRES_PASSWORD")}@postgres.default.svc.cluster.local:5432/stripe_invoice?sslmode=disable"
|
||||||
"@postgres.default.svc.cluster.local:5432/stripe_invoice?sslmode=disable"
|
|
||||||
|
|
||||||
migration {
|
migration {
|
||||||
dir = "file://./db/atlas/stripe_invoice/migrations"
|
dir = "file://./db/atlas/stripe_invoice/migrations"
|
||||||
|
|
@ -8,8 +7,7 @@ env "stripe_invoice_dev" {
|
||||||
}
|
}
|
||||||
|
|
||||||
env "stripe_invoice_prod" {
|
env "stripe_invoice_prod" {
|
||||||
url = "postgres://"+env("POSTGRES_USER")+":"+env("POSTGRES_PASSWORD")+
|
url = "postgres://${env("POSTGRES_USER")}:${env("POSTGRES_PASSWORD")}@postgres.default.svc.cluster.local:5432/stripe_invoice_prod?sslmode=disable"
|
||||||
"@postgres.default.svc.cluster.local:5432/stripe_invoice_prod?sslmode=disable"
|
|
||||||
|
|
||||||
migration {
|
migration {
|
||||||
dir = "file://./db/atlas/stripe_invoice/migrations"
|
dir = "file://./db/atlas/stripe_invoice/migrations"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue