initial commit: lottery 项目集(三工程统一管理)
- apps/lotteryServer, lotteryCapture, lotteryOpen 三个业务工程 - 忽略 archive/, tools/, infra/data/ 大目录与敏感配置文件 - 移除 lotteryServer 原嵌套 git,并入顶层统一管理
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
version: "3.8"
|
||||
|
||||
# 本地开发环境:lotteryServer (nine_surplus) 所需的 MySQL 与 Redis
|
||||
# 宿主端口避开本机已占用的 3306 / 6379
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
container_name: lottery-mysql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: devpass123
|
||||
ports:
|
||||
- "33206:3306"
|
||||
command:
|
||||
- --character-set-server=utf8mb4
|
||||
- --collation-server=utf8mb4_unicode_ci
|
||||
- --max_allowed_packet=256M
|
||||
volumes:
|
||||
- ./data/mysql:/var/lib/mysql
|
||||
|
||||
redis:
|
||||
image: redis:5
|
||||
container_name: lottery-redis
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "36379:6379"
|
||||
volumes:
|
||||
- ./data/redis:/data
|
||||
Reference in New Issue
Block a user