Skip to content

Commit 837796d

Browse files
committed
Fix: Soketi
1 parent 1681799 commit 837796d

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

public/svgs/soketi.jpeg

17.8 KB
Loading

templates/compose/soketi.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
# documentation: https://docs.soketi.app
22
# slogan: Soketi is your simple, fast, and resilient open-source WebSockets server.
33
# tags: websockets,open,source,messaging
4-
# logo: svgs/soketi.png
4+
# logo: svgs/soketi.jpeg
55
# port: 6001
66

77
services:
88
soketi:
9-
container_name: soketi_server
10-
restart: unless-stopped
11-
image: 'quay.io/soketi/soketi:1.6-16-alpine'
12-
expose:
13-
- 6001
9+
image: "quay.io/soketi/soketi:1.4-16-debian"
1410
environment:
15-
- 'SOKETI_DEBUG=${DEBUG:-0}'
16-
- 'SOKETI_DEFAULT_APP_ID=${SOKETI_APP_ID}'
17-
- 'SOKETI_DEFAULT_APP_KEY=${SOKETI_APP_KEY}'
18-
- 'SOKETI_DEFAULT_APP_SECRET=${SOKETI_APP_SECRET}'
19-
- 'SOKETI_PUSHER_SCHEME=${SOKETI_PUSHER_SCHEME:-https}'
20-
- 'SOKETI_DEFAULT_APP_ENABLE_CLIENT_MESSAGES=${DEFAULT_APP_ENABLE_CLIENT_MESSAGES}'
11+
- SERVICE_FQDN_SOKETI_6001
12+
- SOKETI_DEBUG=${DEBUG:-0}
13+
- SOKETI_DEFAULT_APP_ID=${SOKETI_APP_ID}
14+
- SOKETI_DEFAULT_APP_KEY=${SOKETI_APP_KEY}
15+
- SOKETI_DEFAULT_APP_SECRET=${SOKETI_APP_SECRET}
16+
- SOKETI_PUSHER_SCHEME=${SOKETI_PUSHER_SCHEME:-https}
17+
- SOKETI_DEFAULT_APP_ENABLE_CLIENT_MESSAGES=${DEFAULT_APP_ENABLE_CLIENT_MESSAGES}
18+
19+
healthcheck:
20+
test: ["CMD-SHELL", "curl -f http://localhost:6001/ || exit 1"]
21+
interval: 5s
22+
timeout: 20s
23+
retries: 3

0 commit comments

Comments
 (0)