|
|
@ -164,40 +164,40 @@ services:
|
|
|
|
server:
|
|
|
|
server:
|
|
|
|
ipv4_address: ${OPENIM_WEB_NETWORK_ADDRESS}
|
|
|
|
ipv4_address: ${OPENIM_WEB_NETWORK_ADDRESS}
|
|
|
|
|
|
|
|
|
|
|
|
# openim-server:
|
|
|
|
openim-server:
|
|
|
|
# # image: ghcr.io/openimsdk/openim-server:main
|
|
|
|
# image: ghcr.io/openimsdk/openim-server:main
|
|
|
|
# image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:main
|
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-server:main
|
|
|
|
# # image: openim/openim-server:main
|
|
|
|
# image: openim/openim-server:main
|
|
|
|
# # build: .
|
|
|
|
# build: .
|
|
|
|
# container_name: openim-server
|
|
|
|
container_name: openim-server
|
|
|
|
# ports:
|
|
|
|
ports:
|
|
|
|
# - ${OPENIM_WS_PORT}:10001
|
|
|
|
- ${OPENIM_WS_PORT}:10001
|
|
|
|
# - ${API_OPENIM_PORT}:10002
|
|
|
|
- ${API_OPENIM_PORT}:10002
|
|
|
|
# healthcheck:
|
|
|
|
healthcheck:
|
|
|
|
# test: ["CMD", "/openim/openim-server/scripts/check-all.sh"]
|
|
|
|
test: ["CMD", "/openim/openim-server/scripts/check-all.sh"]
|
|
|
|
# interval: 300s
|
|
|
|
interval: 300s
|
|
|
|
# timeout: 10s
|
|
|
|
timeout: 10s
|
|
|
|
# retries: 5
|
|
|
|
retries: 5
|
|
|
|
# volumes:
|
|
|
|
volumes:
|
|
|
|
# - ./logs:/openim/openim-server/logs
|
|
|
|
- ./logs:/openim/openim-server/logs
|
|
|
|
# - ./_output:/openim/openim-server/_output
|
|
|
|
- ./_output:/openim/openim-server/_output
|
|
|
|
# - ./config:/openim/openim-server/config
|
|
|
|
- ./config:/openim/openim-server/config
|
|
|
|
# - ./scripts:/openim/openim-server/scripts
|
|
|
|
- ./scripts:/openim/openim-server/scripts
|
|
|
|
# restart: always
|
|
|
|
restart: always
|
|
|
|
# depends_on:
|
|
|
|
depends_on:
|
|
|
|
# - kafka
|
|
|
|
- kafka
|
|
|
|
# - mysql
|
|
|
|
- mysql
|
|
|
|
# - mongodb
|
|
|
|
- mongodb
|
|
|
|
# - redis
|
|
|
|
- redis
|
|
|
|
# - minio
|
|
|
|
- minio
|
|
|
|
# logging:
|
|
|
|
logging:
|
|
|
|
# driver: json-file
|
|
|
|
driver: json-file
|
|
|
|
# options:
|
|
|
|
options:
|
|
|
|
# max-size: "1g"
|
|
|
|
max-size: "1g"
|
|
|
|
# max-file: "2"
|
|
|
|
max-file: "2"
|
|
|
|
# networks:
|
|
|
|
networks:
|
|
|
|
# server:
|
|
|
|
server:
|
|
|
|
# ipv4_address: ${OPENIM_SERVER_NETWORK_ADDRESS}
|
|
|
|
ipv4_address: ${OPENIM_SERVER_NETWORK_ADDRESS}
|
|
|
|
|
|
|
|
|
|
|
|
# openim-chat:
|
|
|
|
# openim-chat:
|
|
|
|
# # image: ghcr.io/openimsdk/openim-chat:main
|
|
|
|
# # image: ghcr.io/openimsdk/openim-chat:main
|
|
|
|