Support configuration json on Soketi
This commit is contained in:
@@ -418,6 +418,8 @@ services:
|
|||||||
soketi:
|
soketi:
|
||||||
build:
|
build:
|
||||||
context: ./soketi
|
context: ./soketi
|
||||||
|
volumes:
|
||||||
|
- ./soketi/config.json:/app/bin/config.json:ro
|
||||||
ports:
|
ports:
|
||||||
- "${SOKETI_PORT}:6001"
|
- "${SOKETI_PORT}:6001"
|
||||||
- "${SOKETI_METRICS_SERVER_PORT}:9601"
|
- "${SOKETI_METRICS_SERVER_PORT}:9601"
|
||||||
|
|||||||
@@ -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
|
EXPOSE 6001 9601
|
||||||
|
|||||||
3
soketi/config.json
Normal file
3
soketi/config.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"debug": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user