-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.test.example
More file actions
54 lines (47 loc) · 2.19 KB
/
.env.test.example
File metadata and controls
54 lines (47 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# =============================================================================
# Sibyl Test Instance Configuration
# =============================================================================
# Use this for running a secondary Sibyl instance alongside development.
# All ports are offset by +10 from defaults to avoid conflicts.
#
# Usage:
# cp .env.test.example .env.test
# # Start databases with different project name:
# docker compose -p sibyl-test --env-file .env.test up -d
# # Start API:
# SIBYL_SERVER_PORT=3344 SIBYL_FALKORDB_PORT=6390 SIBYL_POSTGRES_PORT=5443 sibyld serve
# # Start web:
# SIBYL_WEB_PORT=3347 SIBYL_BACKEND_URL=http://localhost:3344 pnpm -C apps/web dev
# Docker Compose project name (isolates containers and volumes)
COMPOSE_PROJECT_NAME=sibyl-test
# -----------------------------------------------------------------------------
# Port Configuration (offset +10 from defaults)
# -----------------------------------------------------------------------------
SIBYL_SERVER_PORT=3344
SIBYL_WEB_PORT=3347
SIBYL_FALKORDB_PORT=6390
SIBYL_FALKORDB_BROWSER_PORT=3345
SIBYL_POSTGRES_PORT=5443
# Backend URL for web frontend proxy
SIBYL_BACKEND_URL=http://localhost:3344
# Public URLs (update for this instance)
SIBYL_SERVER_URL=http://localhost:3344
SIBYL_FRONTEND_URL=http://localhost:3347/
SIBYL_PUBLIC_URL=http://localhost:3347
# -----------------------------------------------------------------------------
# Database Configuration
# -----------------------------------------------------------------------------
SIBYL_FALKORDB_HOST=localhost
SIBYL_FALKORDB_PASSWORD=conventions
SIBYL_POSTGRES_USER=sibyl
SIBYL_POSTGRES_PASSWORD=sibyl_dev
SIBYL_POSTGRES_DB=sibyl_test
# -----------------------------------------------------------------------------
# Auth (copy from your main .env or generate new)
# -----------------------------------------------------------------------------
SIBYL_JWT_SECRET=test-instance-secret-change-me
# -----------------------------------------------------------------------------
# API Keys (copy from your main .env)
# -----------------------------------------------------------------------------
# SIBYL_OPENAI_API_KEY=sk-your-key
# SIBYL_ANTHROPIC_API_KEY=sk-ant-your-key