Skip to content

Commit 77dd1c6

Browse files
Add Monitoring to soketi container
1 parent 1bf9d46 commit 77dd1c6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Applications/soketi/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
soketi:
1111
image: 'quay.io/soketi/soketi:latest-16-alpine'
1212
container_name: soketi
13-
command: [ "node", "/app/bin/server.js", "start", "--config=/opt/config.json" ]
13+
command: [ "node", "/app/bin/server.js", "start", "--config=/opt/config.json", "--metrics.prometheus.enabled=true" ]
1414
restart: unless-stopped
1515
volumes:
1616
- './config/config.json:/opt/config.json'

Infrastructure/prometheus/config/prometheus.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ scrape_configs:
2727
static_configs:
2828
- targets: ['rabbitmq:15692']
2929

30-
30+
- job_name: 'soketi'
31+
static_configs:
32+
- targets: ['soketi:6001']
3133

0 commit comments

Comments
 (0)