feat(server): 新增云端缓存与同步服务端骨架
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
14
server/.env.example
Normal file
14
server/.env.example
Normal file
@@ -0,0 +1,14 @@
|
||||
PORT=3200
|
||||
HOST=127.0.0.1
|
||||
LOG_LEVEL=info
|
||||
|
||||
MYSQL_HOST=127.0.0.1
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_USER=magnet_app
|
||||
MYSQL_PASSWORD=change_me
|
||||
MYSQL_DATABASE=magnet_cloud
|
||||
|
||||
APP_ENCRYPTION_SECRET=change_this_to_a_long_random_secret
|
||||
SHARED_CACHE_WRITE_TOKEN=change_this_to_a_long_random_write_token
|
||||
REDIS_URL=redis://127.0.0.1:6379
|
||||
REDIS_ENABLED=true
|
||||
Reference in New Issue
Block a user