Centrifugo PRO is distributed under commercial license which is different from OSS version. By downloading Centrifugo PRO you automatically accept 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).
Centrifugo PRO uses a different image from OSS version – centrifugo/centrifugo-pro:
docker run --ulimit nofile=65536:65536 -v /host/dir/with/config/file:/centrifugo -p 8000:8000 centrifugo/centrifugo-pro:v3.2.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_3.2.2-0_amd64.deb
RPM package available in release assets.
sudo yum install centrifugo-pro-3.2.2-0.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.