Skip to content

Commit 7524959

Browse files
committed
Support configuration json on Soketi
1 parent 205cb4e commit 7524959

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,8 @@ services:
418418
soketi:
419419
build:
420420
context: ./soketi
421+
volumes:
422+
- ./soketi/config.json:/app/bin/config.json:ro
421423
ports:
422424
- "${SOKETI_PORT}:6001"
423425
- "${SOKETI_METRICS_SERVER_PORT}:9601"

soketi/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
FROM quay.io/soketi/soketi:1.4-16-debian
1+
FROM quay.io/soketi/soketi:latest-16-debian
22

3-
LABEL maintainer="Carlos-vargs <cvargaslopez769@gmail.com>"
3+
LABEL maintainer="Er-Niebla <er.niebla@gmail.com>"
44

5-
CMD ["node /app/bin/server.js start"]
5+
COPY config.json /app/bin/config.json
6+
7+
CMD ["--config=/app/bin/config.json"]
68

79
EXPOSE 6001 9601

soketi/config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"debug": false
3+
}

0 commit comments

Comments
 (0)