diff --git a/.env.example b/.env.example index 54a5fd57..96338acd 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index ad18f128..43d2e51c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/soketi/Dockerfile b/soketi/Dockerfile new file mode 100644 index 00000000..3f52bf38 --- /dev/null +++ b/soketi/Dockerfile @@ -0,0 +1,7 @@ +FROM quay.io/soketi/soketi:latest + +LABEL maintainer="WuweiMing " + +CMD ["node /app/bin/server.js start"] + +EXPOSE 6001 9601