mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 13:02:27 +08:00
1.MongoDB、Redis兼容集群模式
2.离线数据接口化访问
This commit is contained in:
19
docker/3rd/mongo/mongo_strndalone/docker-compose.yaml
Normal file
19
docker/3rd/mongo/mongo_strndalone/docker-compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user