chore: 清理敏感与开发文档,仅同步代码
- 永久忽略并从仓库移除 开发文档/ - 移除并忽略 .env 与小程序私有配置 - 同步小程序/管理端/API与脚本改动 Made-with: Cursor
This commit is contained in:
18
soul-api/docker-compose.yml
Normal file
18
soul-api/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
# soul-api 本地开发用 Redis
|
||||
# 启动:docker compose up -d
|
||||
# 停止:docker compose down
|
||||
# 若拉取失败,可配置 Docker Desktop → Settings → Docker Engine → registry-mirrors
|
||||
services:
|
||||
redis:
|
||||
# 使用 DaoCloud 镜像(国内加速);若已配置 daemon 镜像源可改回 redis:7-alpine
|
||||
image: docker.m.daocloud.io/library/redis:7-alpine
|
||||
container_name: soul-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
command: redis-server --appendonly yes
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
Reference in New Issue
Block a user