1.MongoDB、Redis兼容集群模式

2.离线数据接口化访问
This commit is contained in:
flswld
2023-02-26 23:03:13 +08:00
parent 01cb17d4a9
commit 0395dc0bc2
60 changed files with 1298 additions and 464 deletions

View File

@@ -0,0 +1,19 @@
version: '3'
services:
mongo:
restart: always
image: mongo:5.0.5
container_name: mongo
ports:
- "27017:27017/tcp"
environment:
TZ: Asia/Shanghai
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- ./data:/data/db
deploy:
resources:
limits:
cpus: '4.00'
memory: 512M