Merge pull request #3451 from erikn69/patch-7

Support configuration json on Soketi
This commit is contained in:
Shao Yu-Lung (Allen)
2023-10-04 09:21:01 +08:00
committed by GitHub
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
}