Centrifugo
Language-agnostic real-time messaging (Websocket or SockJS) server.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: "3.9"
services:
centrifugo:
container_name: centrifugo
image: centrifugo/centrifugo:v5
volumes:
- ./config.json:/centrifugo/config.json
command: centrifugo -c config.json
ports:
- 8000:8000
ulimits:
nofile:
soft: 65535
hard: 65535
restart: always config.json
{
"token_hmac_secret_key": "my_secret",
"api_key": "my_api_key",
"admin_password": "password",
"admin_secret": "secret",
"admin": true
}Resources
Website: https://centrifugal.dev/
GitHub: https://github.com/centrifugal/centrifugo
Docker Hub: https://hub.docker.com/r/centrifugo/centrifugo
Configuration: https://centrifugal.dev/docs/getting-started/installation