mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
1.MongoDB、Redis兼容集群模式
2.离线数据接口化访问
This commit is contained in:
21
docker/3rd/nats/nats_strndalone/docker-compose.yaml
Normal file
21
docker/3rd/nats/nats_strndalone/docker-compose.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: '3'
|
||||
services:
|
||||
nats:
|
||||
restart: always
|
||||
image: nats:2.7.3
|
||||
container_name: nats
|
||||
ports:
|
||||
- "4224:4222/tcp"
|
||||
- "8224:8222/tcp"
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime
|
||||
- /etc/timezone:/etc/timezone
|
||||
- ./conf/nats-server.conf:/nats-server.conf
|
||||
- ./data:/nats/storage
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
Reference in New Issue
Block a user