Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 600 Bytes

docker.md

File metadata and controls

22 lines (14 loc) · 600 Bytes

Docker image

Centrifugo server has docker image available on Docker Hub.

docker pull centrifugo/centrifugo

Run:

docker run --ulimit nofile=65536:65536 -v /host/dir/with/config/file:/centrifugo -p 8000:8000 centrifugo/centrifugo centrifugo -c config.json

Note that docker allows to set nofile limits in command-line arguments.

To run with admin web interface:

docker run --ulimit nofile=65536:65536 -v /host/dir/with/config/file:/centrifugo -p 8000:8000 centrifugo/centrifugo centrifugo -c config.json --web