2025-01-10 12:58:14 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
|
2025-02-20 19:02:44 +00:00
|
|
|
"env": {
|
|
|
|
|
"APP_ENV": "development",
|
|
|
|
|
"AWS_ACCESS_KEY_ID": "test",
|
|
|
|
|
"AWS_ENDPOINT_URL": "http://localhost:4566",
|
|
|
|
|
"AWS_REGION": "us-east-1",
|
|
|
|
|
"AWS_SECRET_ACCESS_KEY": "test",
|
|
|
|
|
"AWS_SESSION_TOKEN": "",
|
|
|
|
|
"BUCKET_IN": "documentin",
|
|
|
|
|
"DB_NOSSL": "true",
|
|
|
|
|
"DOCUMENT_CLEAN_URL": "http://localstack:4566/queue/us-east-1/000000000000/document_clean",
|
|
|
|
|
"DOCUMENT_INIT_URL": "http://localstack:4566/queue/us-east-1/000000000000/document_init",
|
|
|
|
|
"DOCUMENT_SYNC_URL": "http://localstack:4566/queue/us-east-1/000000000000/document_sync",
|
|
|
|
|
"DOCUMENT_TEXT_URL": "http://localstack:4566/queue/us-east-1/000000000000/document_text",
|
|
|
|
|
"JOB_SYNC_URL": "http://localstack:4566/queue/us-east-1/000000000000/job_sync",
|
|
|
|
|
"PGDATABASE": "query_orchestration",
|
|
|
|
|
"PGHOST": "localhost",
|
|
|
|
|
"PGPASSWORD": "pass",
|
|
|
|
|
"PGPORT": "5432",
|
|
|
|
|
"PGPORT_GENERATE": "5431",
|
|
|
|
|
"PGUSER": "postgres",
|
|
|
|
|
"QNAME_DOCUMENT_CLEAN": "document_clean",
|
|
|
|
|
"QNAME_DOCUMENT_INIT": "document_init",
|
|
|
|
|
"QNAME_DOCUMENT_SYNC": "document_sync",
|
|
|
|
|
"QNAME_DOCUMENT_TEXT": "document_text",
|
|
|
|
|
"QNAME_JOB_SYNC": "job_sync",
|
|
|
|
|
"QNAME_QUERY_RUNNER": "query_runner",
|
|
|
|
|
"QNAME_QUERY_SYNC": "query_sync",
|
|
|
|
|
"QNAME_QUERY_VERSION_SYNC": "query_version_sync",
|
|
|
|
|
"QUERY_SYNC_URL": "http://localstack:4566/queue/us-east-1/000000000000/query_sync",
|
|
|
|
|
"QUERY_URL": "http://localstack:4566/queue/us-east-1/000000000000/query_runner",
|
|
|
|
|
"QUERY_VERSION_SYNC_URL": "http://localstack:4566/queue/us-east-1/000000000000/query_version_sync"
|
|
|
|
|
},
|
|
|
|
|
"env_from": ".env",
|
2025-01-10 12:58:14 +00:00
|
|
|
"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",
|
2025-01-15 19:45:51 +00:00
|
|
|
"nodePackages.jsonlint@1.6.3",
|
2025-02-03 17:30:50 +00:00
|
|
|
"oapi-codegen@2.4.1",
|
2025-02-05 18:33:06 +00:00
|
|
|
"vacuum-go@0.14.1",
|
2025-02-14 12:04:15 +00:00
|
|
|
"awscli2@2.19.0",
|
2025-02-20 19:02:44 +00:00
|
|
|
"postgresql@17.2",
|
|
|
|
|
"bc@1.07.1"
|
2025-01-10 12:58:14 +00:00
|
|
|
],
|
|
|
|
|
"shell": {
|
|
|
|
|
"init_hook": [
|
2025-02-14 12:04:15 +00:00
|
|
|
"export DB_URI=postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:${PGPORT}/${PGDATABASE}?sslmode=disable",
|
|
|
|
|
"export DB_URI_GENERATE=postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:${PGPORT_GENERATE}/${PGDATABASE}?sslmode=disable",
|
2025-01-10 12:58:14 +00:00
|
|
|
"echo 'Welcome to the DoczyAI devbox!'"
|
2025-01-20 13:31:48 +00:00
|
|
|
]
|
2025-02-20 19:02:44 +00:00
|
|
|
}
|
|
|
|
|
}
|