mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
feat: add devcontainer for local setup
This commit is contained in:
parent
a725fda274
commit
6b33addb25
26 changed files with 671 additions and 130 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