|
|
@ -24,7 +24,7 @@ services:
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/db:/data/db
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/db:/data/db
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/logs:/data/logs
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/logs:/data/logs
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/conf:/etc/mongo
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/conf:/etc/mongo
|
|
|
|
- ./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro
|
|
|
|
- ./script/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
# cache
|
|
|
|
# cache
|
|
|
@ -37,11 +37,10 @@ services:
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
image: redis:6.2.5
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 16379:6379
|
|
|
|
- 16379:6379
|
|
|
|
# new image error
|
|
|
|
container_name: redis
|
|
|
|
container_name: redis:7.0.0
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- ${DATA_DIR}/components/redis/data:/data
|
|
|
|
- ${DATA_DIR}/components/redis/data:/data
|
|
|
|
#redis config file
|
|
|
|
#redis config file
|
|
|
@ -53,7 +52,6 @@ services:
|
|
|
|
net.core.somaxconn: 1024
|
|
|
|
net.core.somaxconn: 1024
|
|
|
|
command: redis-server --requirepass ${PASSWORD} --appendonly yes
|
|
|
|
command: redis-server --requirepass ${PASSWORD} --appendonly yes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
zookeeper:
|
|
|
|
zookeeper:
|
|
|
|
image: zookeeper
|
|
|
|
image: zookeeper
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -103,7 +101,7 @@ services:
|
|
|
|
image: openim/open_im_server:v3.0.0
|
|
|
|
image: openim/open_im_server:v3.0.0
|
|
|
|
container_name: open_im_server
|
|
|
|
container_name: open_im_server
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- ./logs:/Open-IM-Server/logs/open-im-server
|
|
|
|
- ./logs:/Open-IM-Server/logs
|
|
|
|
- ./config/config.yaml:/Open-IM-Server/config/config.yaml
|
|
|
|
- ./config/config.yaml:/Open-IM-Server/config/config.yaml
|
|
|
|
- ./config/notification.yaml:/Open-IM-Server/config/notification.yaml
|
|
|
|
- ./config/notification.yaml:/Open-IM-Server/config/notification.yaml
|
|
|
|
- ${DATA_DIR}/db/sdk:/Open-IM-Server/db/sdk
|
|
|
|
- ${DATA_DIR}/db/sdk:/Open-IM-Server/db/sdk
|
|
|
|