• Stars
    star
    13
  • Rank 1,512,713 (Top 30 %)
  • Language
  • Created almost 3 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple docker-compose to run soketi WebSockets server.

Simple docker-compose to run soketi WebSockets server.

update environment variables

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 # make true if you want to enable client events

Run Soketi server

docker-compose up -d

Without docker-compose

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