a7ad31a3f8
Enable environment variables * installscript * vars * uninstalldirenv
40 lines
948 B
JSON
40 lines
948 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
|
|
"packages": [
|
|
"golangci-lint@1.62.2",
|
|
"protolint@0.50.5",
|
|
"yamllint@1.35.1",
|
|
"sqlc@1.27.0",
|
|
"go-mockery@2.46.3",
|
|
"protoc-gen-go@1.35.1",
|
|
"protoc-gen-go-grpc@1.3.0",
|
|
"go-migrate@4.18.1",
|
|
"go@1.23.3",
|
|
"protobuf@28.3",
|
|
"go-task@3.39.2",
|
|
"hadolint@2.12.0",
|
|
"gotools@0.25.0",
|
|
"nodePackages.jsonlint@1.6.3"
|
|
],
|
|
"shell": {
|
|
"init_hook": [
|
|
"DB_URI=postgres://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_NAME}?sslmode=disable",
|
|
"echo 'Welcome to the DoczyAI devbox!'"
|
|
],
|
|
"scripts": {
|
|
"deps:download": [
|
|
"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"
|
|
}
|