Compose: default DB name to mission_control
Merges PR #31 (compose defaults + Clerk-safe activity import).
This commit is contained in:
@@ -6,7 +6,7 @@ FRONTEND_PORT=3000
|
||||
BACKEND_PORT=8000
|
||||
|
||||
# --- database ---
|
||||
POSTGRES_DB=openclaw_agency
|
||||
POSTGRES_DB=mission_control
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_PORT=5432
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
ENVIRONMENT=dev
|
||||
LOG_LEVEL=INFO
|
||||
DATABASE_URL=postgresql+psycopg://postgres:postgres@localhost:5432/openclaw_agency
|
||||
DATABASE_URL=postgresql+psycopg://postgres:postgres@localhost:5432/mission_control
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
CORS_ORIGINS=http://localhost:3000
|
||||
BASE_URL=
|
||||
|
||||
@@ -4,7 +4,7 @@ services:
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB:-openclaw_agency}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-mission_control}
|
||||
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
||||
volumes:
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
- ./backend/.env.example
|
||||
environment:
|
||||
# Override localhost defaults for container networking
|
||||
DATABASE_URL: postgresql+psycopg://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-openclaw_agency}
|
||||
DATABASE_URL: postgresql+psycopg://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-mission_control}
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
CORS_ORIGINS: ${CORS_ORIGINS:-http://localhost:3000}
|
||||
DB_AUTO_MIGRATE: ${DB_AUTO_MIGRATE:-true}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
import Link from "next/link";
|
||||
|
||||
import { SignInButton, SignedIn, SignedOut, useAuth } from "@clerk/nextjs";
|
||||
import { SignInButton, SignedIn, SignedOut, useAuth } from "@/auth/clerk";
|
||||
import { ArrowUpRight, Activity as ActivityIcon } from "lucide-react";
|
||||
|
||||
import { ApiError } from "@/api/mutator";
|
||||
|
||||
Reference in New Issue
Block a user