Support configuration json on Soketi

This commit is contained in:
erikn69
2023-09-29 17:33:05 -05:00
parent 205cb4e5c9
commit 7524959109
3 changed files with 10 additions and 3 deletions

View File

@@ -418,6 +418,8 @@ services:
soketi:
build:
context: ./soketi
volumes:
- ./soketi/config.json:/app/bin/config.json:ro
ports:
- "${SOKETI_PORT}:6001"
- "${SOKETI_METRICS_SERVER_PORT}:9601"

View File

@@ -1,7 +1,9 @@
FROM quay.io/soketi/soketi:1.4-16-debian
FROM quay.io/soketi/soketi:latest-16-debian
LABEL maintainer="Carlos-vargs <cvargaslopez769@gmail.com>"
LABEL maintainer="Er-Niebla <er.niebla@gmail.com>"
CMD ["node /app/bin/server.js start"]
COPY config.json /app/bin/config.json
CMD ["--config=/app/bin/config.json"]
EXPOSE 6001 9601

3
soketi/config.json Normal file
View File

@@ -0,0 +1,3 @@
{
"debug": false
}