mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-07 18:45:58 +08:00
feat: ver3 branch
Signed-off-by: kubbot & kubecub <3293172751ysy@gmail.com>
This commit is contained in:
+13
-11
@@ -15,7 +15,7 @@ services:
|
||||
restart: always
|
||||
|
||||
mongodb:
|
||||
image: mongo:6.0
|
||||
image: mongo:4.0
|
||||
ports:
|
||||
- 37017:27017
|
||||
container_name: mongo
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
- ${DATA_DIR}/components/mongodb/data/db:/data/db
|
||||
- ${DATA_DIR}/components/mongodb/data/logs:/data/logs
|
||||
- ${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:
|
||||
- TZ=Asia/Shanghai
|
||||
# cache
|
||||
@@ -37,7 +37,7 @@ services:
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
image: redis:6.2.5
|
||||
image: redis
|
||||
ports:
|
||||
- 16379:6379
|
||||
container_name: redis
|
||||
@@ -52,6 +52,7 @@ services:
|
||||
net.core.somaxconn: 1024
|
||||
command: redis-server --requirepass ${PASSWORD} --appendonly yes
|
||||
|
||||
|
||||
zookeeper:
|
||||
image: zookeeper
|
||||
ports:
|
||||
@@ -63,6 +64,7 @@ services:
|
||||
TZ: Asia/Shanghai
|
||||
restart: always
|
||||
|
||||
|
||||
kafka:
|
||||
image: wurstmeister/kafka
|
||||
container_name: kafka
|
||||
@@ -105,7 +107,7 @@ services:
|
||||
- ./config/config.yaml:/Open-IM-Server/config/config.yaml
|
||||
- ./config/notification.yaml:/Open-IM-Server/config/notification.yaml
|
||||
- ${DATA_DIR}/db/sdk:/Open-IM-Server/db/sdk
|
||||
- ./scripts:/Open-IM-Server/scripts
|
||||
- ./script:/Open-IM-Server/script
|
||||
restart: always
|
||||
depends_on:
|
||||
- kafka
|
||||
@@ -120,12 +122,12 @@ services:
|
||||
max-size: "1g"
|
||||
max-file: "2"
|
||||
|
||||
openim_chat:
|
||||
image: openim/openim_chat:v1.0
|
||||
container_name: openim_chat
|
||||
open_im_enterprise:
|
||||
image: openim/open_im_enterprise:v1.0.2
|
||||
container_name: open_im_enterprise
|
||||
volumes:
|
||||
- ./logs:/openim-chat/logs
|
||||
- ./openim-chat/config/config.yaml:/openim-chat/config/config.yaml
|
||||
- ./logs:/Open-IM-Enterprise/logs
|
||||
- ./.docker-compose_cfg/config.yaml:/Open-IM-Enterprise/config/config.yaml
|
||||
restart: always
|
||||
depends_on:
|
||||
- mysql
|
||||
@@ -140,7 +142,7 @@ services:
|
||||
max-size: "1g"
|
||||
max-file: "2"
|
||||
environment:
|
||||
CONFIG_NAME: "/openim-chat"
|
||||
CONFIG_NAME: "/Open-IM-Enterprise"
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus
|
||||
@@ -170,4 +172,4 @@ services:
|
||||
# container_name: node-exporter
|
||||
# restart: always
|
||||
# ports:
|
||||
# - "9100:9100"
|
||||
# - "9100:9100"
|
||||
|
||||
Reference in New Issue
Block a user