|
|
|
@ -15,7 +15,7 @@ spec:
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- name: sdk-server
|
|
|
|
|
image: openim/sdk_server:v2.2.0
|
|
|
|
|
image: openim/sdk_server:v2.3.0release
|
|
|
|
|
# imagePullPolicy: Always
|
|
|
|
|
ports:
|
|
|
|
|
- containerPort: 10003
|
|
|
|
@ -25,8 +25,11 @@ spec:
|
|
|
|
|
readOnly: true
|
|
|
|
|
- name: local-db
|
|
|
|
|
mountPath: /db/sdk
|
|
|
|
|
env:
|
|
|
|
|
- name: CONFIG_NAME
|
|
|
|
|
value: "/Open-IM-Server"
|
|
|
|
|
command: ["/Open-IM-Server/main"]
|
|
|
|
|
args: ["-openIM_api_port", "10002", "-openIM_ws_port", "10001", "-sdk_ws_port", "10003", "-openIM_log_level", "6"]
|
|
|
|
|
args: ["-openIM_ws_address", "ws_addr", "-sdk_ws_port", "10001", "-openIM_api_address", "api_address", "-openIM_log_level", "6"]
|
|
|
|
|
volumes:
|
|
|
|
|
- name: config
|
|
|
|
|
configMap:
|
|
|
|
|