Merged in bugfix/direnvinstall (pull request #19)

Enable environment variables

* installscript

* vars

* uninstalldirenv
This commit is contained in:
Michael McGuinness
2025-01-13 18:33:20 +00:00
parent 8c254db2ce
commit a7ad31a3f8
3 changed files with 11 additions and 81 deletions
+11 -3
View File
@@ -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"
}