commit
0483b05821
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue