Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/safemood/soketi-docker-compose
Simple docker-compose to run soketi WebSockets server.
https://github.com/safemood/soketi-docker-compose
Last synced: 9 days ago
JSON representation
Simple docker-compose to run soketi WebSockets server.
- Host: GitHub
- URL: https://github.com/safemood/soketi-docker-compose
- Owner: Safemood
- Created: 2022-02-22T13:59:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T15:16:01.000Z (7 months ago)
- Last Synced: 2024-10-12T11:09:36.535Z (about 1 month ago)
- Homepage:
- Size: 10.7 KB
- Stars: 19
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple docker-compose to run soketi WebSockets server.
## **update environment variables**
```js
SOKETI_PORT=6001
SOKETI_METRICS_SERVER_PORT=9601
DEBUG=1
PUSHER_APP_ID=app-id
PUSHER_APP_KEY=app-key
PUSHER_APP_SECRET=app-secret
PUSHER_HOST=127.0.0.1
PUSHER_PORT=6001
PUSHER_SCHEME=http
DEFAULT_APP_ENABLE_CLIENT_MESSAGES=false # true if you want to enable client events
```## **Run Soketi server**
```js
docker-compose up -d
```## **Without docker-compose**
```js
docker run -p 6001:6001 -p 9601:9601 -e DEFAULT_APP_ID=some-id -e DEFAULT_APP_KEY=some-key -e DEFAULT_APP_SECRET=some-secret quay.io/soketi/soketi:0.17-16-alpine
```## https://kbouzidi.com
### you can check the related article REAL-TIME EVENTS BROADCASTING WITH LARAVEL 9 & SOKETI