mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
feat: add devcontainer based setup (#352)
* feat: add devcontainer for local setup * feat: add local install hook * feat: add devcontainer based setup docs * feat: use uv in api/Dockerfile * fix: fix CI scripts * fix: fix post job cleanup step
This commit is contained in:
parent
285de92528
commit
0716582aa7
31 changed files with 971 additions and 227 deletions
17
api/.env.test.example
Normal file
17
api/.env.test.example
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Test environment. Read by pytest runs and the "Tests: API" launch
|
||||
# configurations in .vscode/launch.json.
|
||||
#
|
||||
# Tests target a separate database (`test_db`) so they don't clobber dev
|
||||
# data. Create it once after the postgres container is up:
|
||||
# docker compose -f docker-compose-local.yaml exec postgres \
|
||||
# createdb -U postgres test_db
|
||||
|
||||
ENVIRONMENT="test"
|
||||
LOG_LEVEL="DEBUG"
|
||||
|
||||
UI_APP_URL=http://localhost:3000
|
||||
|
||||
DATABASE_URL="postgresql+asyncpg://postgres:postgres@localhost:5432/test_db"
|
||||
REDIS_URL="redis://:redissecret@localhost:6379/0"
|
||||
|
||||
MINIO_PUBLIC_ENDPOINT=http://localhost:9000
|
||||
Loading…
Add table
Add a link
Reference in a new issue