updates configuration (3 files)

This commit is contained in:
-Puter
2026-06-01 18:03:18 +05:30
parent 9ddbb4a8e5
commit 7e6d32def5
3 changed files with 8 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ ENV NODE_ENV=production
COPY --from=deps /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
COPY package.json ./
COPY drizzle/ ./drizzle/
# ── Build-time prompt loading (changes.md §3) ──
# Prompts and agent definitions are copied into the image so they are

View File

@@ -47,12 +47,13 @@ services:
# Self-hosted Rivet engine. The backend's Rivet Kit client connects here.
# The unified user agent runs as a durable Rivet actor (changes.md §5).
rivet-engine:
image: rivetgg/engine:latest
image: rivetdev/engine:latest
container_name: growqr-rivet
ports:
- "6420:6420" # API
- "6421:6421" # Guard/edge
environment:
RIVET__FILE_SYSTEM__PATH: /data
RIVET__AUTH__ADMIN_TOKEN: ${RIVET_ADMIN_TOKEN:-dev-admin-token}
volumes:
- rivet-data:/data
@@ -79,7 +80,7 @@ services:
NODE_ENV: ${NODE_ENV:-production}
DATABASE_URL: postgres://${POSTGRES_USER:-growqr}:${POSTGRES_PASSWORD:-growqr}@postgres:5432/${POSTGRES_DB:-growqr}
# Central Gitea (shared org-wide instance)
GITEA_URL: http://gitea:3001
GITEA_URL: http://gitea:3000
GITEA_ADMIN_USER: ${GITEA_ADMIN_USER:-growqr-admin}
GITEA_ADMIN_PASSWORD: ${GITEA_ADMIN_PASSWORD:-growqr-admin-dev}
GITEA_ADMIN_TOKEN: ${GITEA_ADMIN_TOKEN:-}
@@ -89,7 +90,7 @@ services:
MIGRATION_VERSION: ${MIGRATION_VERSION:-1}
PROMPT_VERSION: ${PROMPT_VERSION:-1}
# Rivet
RIVET_ENDPOINT: http://rivet-engine:6420
RIVET_ENDPOINT: http://default:${RIVET_ADMIN_TOKEN:-dev-admin-token}@rivet-engine:6420
RIVET_CLIENT_ENDPOINT: ${RIVET_CLIENT_ENDPOINT:-http://127.0.0.1:4000/api/rivet}
# Auth
CLERK_SECRET_KEY: ${CLERK_SECRET_KEY}
@@ -103,7 +104,7 @@ services:
LLM_MODEL: ${LLM_MODEL:-kimi-k2.6}
GROW_AGENT_MODEL: ${GROW_AGENT_MODEL:-kimi-k2.6}
# Per-user OpenCode containers
OPENCODE_IMAGE: ${OPENCODE_IMAGE:-ghcr.io/anomalyco/opencode:latest}
OPENCODE_IMAGE: ${OPENCODE_IMAGE:-growqr/opencode:dev}
USER_CONTAINER_HOST: ${USER_CONTAINER_HOST:-host.docker.internal}
USER_DATA_ROOT: /data/users
USER_PORT_RANGE_START: 20000

View File

@@ -12,7 +12,8 @@
"db:migrate": "tsx src/db/migrate.ts",
"db:studio": "drizzle-kit studio",
"compose:up": "docker compose up -d",
"compose:down": "docker compose down"
"compose:down": "docker compose down",
"docker:opencode:build": "docker build -f docker/opencode/Dockerfile -t growqr/opencode:dev ."
},
"dependencies": {
"@clerk/backend": "^1.21.0",