Environment Variable Configuration
Some variables in this system are configured using environment variables to facilitate deployment across different environments, so it is extremely important to set them correctly!
Root Directory .env
Name | Description |
---|---|
OAUTH_SECRET_KEY | Secret key for JWT user authentication system |
POSTGRES_USER | PostgreSQL username |
POSTGRES_PASSWORD | PostgreSQL password |
POSTGRES_DB | PostgreSQL database name |
POSTGRES_DB_URL | PostgreSQL database URL |
MILVUS_CLUSTER_ENDPOINT | Milvus cluster address |
MILVUS_TOKEN | Milvus authentication token |
FILE_SYSTEM_USER_NAME | File system username |
FILE_SYSTEM_PASSWORD | File system password |
FILE_SYSTEM_SERVER_PRIVATE_URL | File system service address (Docker internal) |
FILE_SYSTEM_SERVER_PUBLIC_URL | File system service address (public network) |
NEO4J_AUTH | Neo4j authentication |
ETCD_ENDPOINTS | etcd cluster endpoints |
ETCD_AUTO_COMPACTION_MODE | Enable etcd auto-compaction mode |
ETCD_AUTO_COMPACTION_RETENTION | Revisions to retain during compaction |
ETCD_QUOTA_BACKEND_BYTES | etcd backend DB storage quota |
ETCD_SNAPSHOT_COUNT | Transactions to write before snapshot |
MILVUS_MINIO_USER_NAME | MinIO username for Milvus service |
MILVUS_MINIO_PASSWORD | MinIO password for Milvus service |
REDIS_URL | Redis connection URL |
REDIS_PORT | Redis connection port |
HF_ENDPOINT | HuggingFace service endpoint |
NEXT_PUBLIC_API_PREFIX | Core backend service prefix |
NEXT_PUBLIC_NOTIFICATION_WS_API_PREFIX | File service interface prefix |
NEXT_PUBLIC_DAILY_HOT_API_PREFIX | Trending service interface prefix |
Web Service
Name | Description |
---|---|
NEXT_PUBLIC_API_PREFIX | Core backend service prefix |
NEXT_PUBLIC_NOTIFICATION_WS_API_PREFIX | WebSocket interface prefix of real-time notification |
NEXT_PUBLIC_DAILY_HOT_API_PREFIX | Trending service interface prefix |
API Service
Name | Description |
---|---|
OAUTH_SECRET_KEY | Secret key for JWT user authentication system |
REDIS_URL | Redis connection URL |
REDIS_PASSWORD | Redis connection password |
REDIS_PORT | Redis connection port |
POSTGRES_USER | PostgreSQL username |
POSTGRES_PASSWORD | PostgreSQL password |
POSTGRES_DB | PostgreSQL database name |
POSTGRES_DB_URL | PostgreSQL database URL |
MILVUS_CLUSTER_ENDPOINT | Milvus connection address |
MILVUS_TOKEN | Milvus authentication token |
FILE_SYSTEM_USER_NAME | File system username |
FILE_SYSTEM_PASSWORD | File system password |
FILE_SYSTEM_SERVER_PRIVATE_URL | File system service address (Docker internal) |
FILE_SYSTEM_SERVER_PUBLIC_URL | File system service address (public network) |
celery-worker
Name | Description |
---|---|
OAUTH_SECRET_KEY | Secret key for JWT user authentication system |
REDIS_URL | Redis connection URL |
REDIS_PASSWORD | Redis connection password |
REDIS_PORT | Redis connection port |
POSTGRES_USER | PostgreSQL username |
POSTGRES_PASSWORD | PostgreSQL password |
POSTGRES_DB | PostgreSQL database name |
POSTGRES_DB_URL | PostgreSQL database URL |
MILVUS_CLUSTER_ENDPOINT | Milvus connection address |
MILVUS_TOKEN | Milvus authentication token |
FILE_SYSTEM_USER_NAME | File system username |
FILE_SYSTEM_PASSWORD | File system password |
FILE_SYSTEM_SERVER_PRIVATE_URL | File system service address (Docker internal) |
FILE_SYSTEM_SERVER_PUBLIC_URL | File system service address (public network) |
Last updated on