Initial project scaffold
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
APP_ENV=development
|
||||
HTTP_ADDR=:8088
|
||||
|
||||
# Reuse the same PostgreSQL instance as Agent memory, but use an independent
|
||||
# database. When running from the host, use the externally reachable host/port.
|
||||
AI_GATEWAY_DATABASE_NAME=easyai_ai_gateway
|
||||
AI_GATEWAY_DATABASE_URL=postgresql://easyai:easyai2025@localhost:5432/easyai_ai_gateway?sslmode=disable
|
||||
|
||||
# When running inside the EasyAI docker network, use the container DNS name:
|
||||
# AI_GATEWAY_DATABASE_URL=postgresql://easyai:easyai2025@easyai-pgvector:5432/easyai_ai_gateway?schema=public
|
||||
#
|
||||
# If AI_GATEWAY_DATABASE_URL is omitted, the service can derive host/user/pass
|
||||
# from MEMORY_DATABASE_URL but will still replace the database with
|
||||
# AI_GATEWAY_DATABASE_NAME.
|
||||
# MEMORY_DATABASE_URL=postgresql://easyai:easyai2025@easyai-pgvector:5432/easyai_memory?schema=public
|
||||
|
||||
# Keep this aligned with easyai-server-main CONFIG_JWT_SECRET in the first migration phase.
|
||||
CONFIG_JWT_SECRET=this is a very secret secret
|
||||
|
||||
# Used when the gateway delegates OpenAPI sk-* validation, file upload, and settlement callbacks.
|
||||
SERVER_MAIN_BASE_URL=http://localhost:3000
|
||||
SERVER_MAIN_INTERNAL_TOKEN=change-me
|
||||
|
||||
CORS_ALLOWED_ORIGIN=http://localhost:5178
|
||||
VITE_GATEWAY_API_BASE_URL=http://localhost:8088
|
||||
Reference in New Issue
Block a user