fix: make local database startup self contained

This commit is contained in:
2026-09-20 14:49:37 +08:00
parent dfafcae0c6
commit 26b5804092
7 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"private": true,
"version": "0.1.0",
"scripts": {
"db": "docker compose -f compose.yaml -f compose.dev.yaml up -d postgres",
"db": "CONTROL_PLANE_USERNAME=${CONTROL_PLANE_USERNAME:-admin} CONTROL_PLANE_PASSWORD=${CONTROL_PLANE_PASSWORD:-admin123} CREATORHUB_CREDENTIAL_MASTER_KEY=${CREATORHUB_CREDENTIAL_MASTER_KEY:-Y3JlYXRvcmh1YiBkZXYgIGxvY2FsIG1hc3RlciBrZXk=} docker compose -f compose.yaml -f compose.dev.yaml up -d postgres",
"backend": "node scripts/dev-backend.mjs",
"frontend": "pnpm -C web run dev",
"gateway": "node scripts/dev-gateway.mjs"