Merged in bugfix/direnvinstall (pull request #19)
Enable environment variables * installscript * vars * uninstalldirenv
This commit is contained in:
+11
-3
@@ -5,7 +5,6 @@
|
||||
"protolint@0.50.5",
|
||||
"yamllint@1.35.1",
|
||||
"sqlc@1.27.0",
|
||||
"direnv@2.35.0",
|
||||
"go-mockery@2.46.3",
|
||||
"protoc-gen-go@1.35.1",
|
||||
"protoc-gen-go-grpc@1.3.0",
|
||||
@@ -19,7 +18,7 @@
|
||||
],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"eval \"$(direnv hook bash)\"",
|
||||
"DB_URI=postgres://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_NAME}?sslmode=disable",
|
||||
"echo 'Welcome to the DoczyAI devbox!'"
|
||||
],
|
||||
"scripts": {
|
||||
@@ -27,5 +26,14 @@
|
||||
"task deps:download"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"env": {
|
||||
"APP_ENV": "development",
|
||||
"DB_USER": "postgres",
|
||||
"DB_PASS": "pass",
|
||||
"DB_HOST": "localhost",
|
||||
"DB_PORT": "5432",
|
||||
"DB_NAME": "query_orchestration"
|
||||
},
|
||||
"env_from": ".env"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user