|
|
|
@ -90,8 +90,8 @@ services:
|
|
|
|
|
- 9090:9090
|
|
|
|
|
container_name: minio
|
|
|
|
|
volumes:
|
|
|
|
|
- /mnt/data:/data
|
|
|
|
|
- /mnt/config:/root/.minio
|
|
|
|
|
- ${DATA_DIR}/components/mnt/data:/data
|
|
|
|
|
- ${DATA_DIR}/components/mnt/config:/root/.minio
|
|
|
|
|
environment:
|
|
|
|
|
MINIO_ROOT_USER: ${USER}
|
|
|
|
|
MINIO_ROOT_PASSWORD: ${PASSWORD}
|
|
|
|
@ -99,15 +99,15 @@ services:
|
|
|
|
|
command: minio server /data --console-address ':9090'
|
|
|
|
|
|
|
|
|
|
openim-server:
|
|
|
|
|
# image: ghcr.io/openimsdk/openim-server:main
|
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:main
|
|
|
|
|
image: ghcr.io/openimsdk/openim-server:main
|
|
|
|
|
# image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:main
|
|
|
|
|
# image: openim/openim-server:main
|
|
|
|
|
container_name: openim-server
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD-SHELL", "./scripts/check-all.sh"]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 5
|
|
|
|
|
# healthcheck:
|
|
|
|
|
# test: ["CMD-SHELL", "./scripts/check-all.sh"]
|
|
|
|
|
# interval: 30s
|
|
|
|
|
# timeout: 10s
|
|
|
|
|
# retries: 5
|
|
|
|
|
volumes:
|
|
|
|
|
- ./logs:/openim/openim-server/logs
|
|
|
|
|
- ./config:/openim/openim-server/config
|
|
|
|
@ -179,10 +179,6 @@ services:
|
|
|
|
|
- prometheus
|
|
|
|
|
network_mode: "host"
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
openim-chat_logs:
|
|
|
|
|
openim-chat_config:
|
|
|
|
|
openim-chat_scripts:
|
|
|
|
|
|
|
|
|
|
# node-exporter:
|
|
|
|
|
# image: quay.io/prometheus/node-exporter
|
|
|
|
|