Skip to content

Commit

Permalink
Customizable Soketi Server Version
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 committed Jan 24, 2024
1 parent 3efd4eb commit 29c2b34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env.example
Expand Up @@ -1072,6 +1072,8 @@ NATS_MONITORING_PORT=6222
NATS_ROUTE_PORT=8222

### SOKETI ##################################################
SOKETI_NODE_VERSION=16-debian
SOKETI_BASE_IMAGE_TAG_PREFIX=latest
SOKETI_PORT=6001
SOKETI_METRICS_SERVER_PORT=9601

Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Expand Up @@ -419,6 +419,9 @@ services:
soketi:
build:
context: ./soketi
args:
- NODE_VERSION=${SOKETI_NODE_VERSION}
- BASE_IMAGE_TAG_PREFIX=${SOKETI_BASE_IMAGE_TAG_PREFIX}
volumes:
- ./soketi/config.json:/app/bin/config.json:ro
ports:
Expand Down
4 changes: 3 additions & 1 deletion soketi/Dockerfile
@@ -1,4 +1,6 @@
FROM quay.io/soketi/soketi:latest-16-debian
ARG NODE_VERSION=16-debian
ARG BASE_IMAGE_TAG_PREFIX=latest
FROM quay.io/soketi/soketi:${BASE_IMAGE_TAG_PREFIX}-${NODE_VERSION}

LABEL maintainer="Er-Niebla <er.niebla@gmail.com>"

Expand Down

0 comments on commit 29c2b34

Please sign in to comment.