Centrifugo PRO is distributed by Centrifugal Labs LTD under commercial license which is different from OSS version. By downloading Centrifugo PRO you automatically accept commercial license terms.
Centrifugo PRO binary releases available on Github. Note that we use a separate repo for PRO releases. Download latest release for your operating system, unpack it and run (see how to set license key below).
If you doubt which distribution you need, then on Linux or MacOS you can use the following command to download and unpack
centrifugo binary to your current working directory:
curl -sSLf https://centrifugal.dev/install_pro.sh | sh
Centrifugo PRO uses a different image from OSS version – centrifugo/centrifugo-pro:
docker run --ulimit nofile=262144:262144 -v /host/dir/with/config/file:/centrifugo -p 8000:8000 centrifugo/centrifugo-pro:v5.1.2 centrifugo -c config.json
You can use our official Helm chart but make sure you changed Docker image to use PRO version and point to the correct image tag:
Debian and Ubuntu
DEB package available in release assets.
sudo dpkg -i centrifugo-pro_5.1.2_amd64.deb
RPM package available in release assets.
sudo yum install centrifugo-pro-5.1.2.x86_64.rpm
Setting PRO license key
Centrifugo PRO inherits all features and configuration options from open-source version. The only difference is that it expects a valid license key on start to avoid sandbox mode limits.
Once you have installed a PRO version and have a license key you can set it in configuration over
license field, or pass over environment variables as
CENTRIFUGO_LICENSE. Like this:
If license properly set then on Centrifugo PRO start you should see license information in logs: owner, license type and expiration date. All PRO features should be unlocked at this point. Warning about sandbox mode in logs on server start must disappear.