Merge pull request #3205 from Yohoed2000/master

feat:add Soketi Server
This commit is contained in:
Shao Yu-Lung (Allen) 2022-07-17 12:37:50 +08:00 committed by GitHub
commit 0483b05821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View File

@ -1041,3 +1041,7 @@ TARANTOOL_ADMIN_PORT=8002
NATS_CLIENT_PORT=4222
NATS_MONITORING_PORT=6222
NATS_ROUTE_PORT=8222
### SOKETI ##################################################
SOKETI_PORT=6001
SOKETI_METRICS_SERVER_PORT=9601

View File

@ -396,6 +396,17 @@ services:
networks:
- backend
### Soketi Server ##############################################
soketi:
build:
context: ./soketi
ports:
- "${SOKETI_PORT}:6001"
- "${SOKETI_METRICS_SERVER_PORT}:9601"
networks:
- frontend
- backend
### NGINX Server #########################################
nginx:
build:

7
soketi/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM quay.io/soketi/soketi:latest
LABEL maintainer="WuweiMing <wwm041544363@gmail.com>"
CMD ["node /app/bin/server.js start"]
EXPOSE 6001 9601