Install

On this page

Erlangly runs as one Docker container on a Linux server you choose: a cloud server, a machine in your office, or a virtual machine.

It's free for up to 25 active agents, with every feature. Once it's running and you've created your admin account, Erlangly asks you to activate it: the free plan (your organization's name, a work email we confirm and your country), a 30-day trial with no agent limit, or a key you've bought.

Not the one who runs your servers? Send this page to your IT team, or ask us for a walkthrough first.

What you need

  • Ubuntu or Debian, on x86-64 or ARM64.
  • 2 processor cores and 2 GB of memory, for up to 500 agents (how big a server), and disk for a year of your floor's data: 20 GB for a small floor, about 80 GB for 500 agents (how much disk).
  • Port 80 open to the people who'll use it (or the port you choose).
  • For HTTPS: a domain pointed at the server, and ports 80 and 443 open.
  • While it installs and upgrades, the server reaches get.erlangly.com, GitHub's container registry and Docker's downloads (what it connects to).
  • To activate it, once: a browser that can reach both your Erlangly and store.erlangly.com. A server with no internet is activated with typed codes, from any device that can reach the store (how).

Something not working? Troubleshooting has the usual causes and what to do.

Install it

curl -fsSL https://get.erlangly.com | sh

This installs Docker if it isn't there, installs the erlangly command, and starts Erlangly: a few minutes on a new server, which installs its own updates first.

It then prints a secret setup link: open it to create your organization and your admin account. Until you do, nobody else can set up your server. Then you set up two-factor authentication with an authenticator app on your phone, and save your recovery codes. Then Erlangly asks you to choose a license for it, the free plan, a 30-day trial or a key you've bought (activating), and until it's activated, that's the only page it shows.

Lost the link? Run erlangly setup-link. On a cloud server the link may show its private address: open it with the server's public address instead.

By installing or using Erlangly you accept its license agreement, as the installer and the setup page say. The agreement that came with your copy is in Erlangly too, under Settings → License.

Check it before you run it

Prefer to read the installer first? Download it, check it against our published checksums, then run it:

curl -fsSLO https://get.erlangly.com/install.sh
curl -fsSL https://get.erlangly.com/SHA256SUMS | sha256sum -c --ignore-missing
sh install.sh

The erlangly command downloads Erlangly from GitHub's registry by the image digest listed for each release at get.erlangly.com/images, never just by its tag, so the image you run is the one we built.

HTTPS

curl -fsSL https://get.erlangly.com | TLS_DOMAIN=wfm.example.com sh

With a domain, Erlangly gets a free Let's Encrypt certificate and serves HTTPS only. Already installed without one? Put the domain in TLS_DOMAIN= in /etc/erlangly/erlangly.conf (with sudo), run erlangly restart, and erlangly setup-link prints the new https:// link if you haven't set up yet. Single sign-on needs HTTPS too.

Behind your own proxy

Already running a reverse proxy (nginx, Nginx Proxy Manager, Caddy, a Cloudflare tunnel)? Install Erlangly on another port and tell it the address people open.

curl -fsSL https://get.erlangly.com | ERLANGLY_HTTP_PORT=8095 ERLANGLY_URL=https://wfm.example.com sh
  • Your proxy handles HTTPS and forwards to that port, passing on the address people opened (the Host header); turn WebSockets on for live updates like the wallboard's (an example for nginx).
  • Have it pass on each visitor's address in X-Forwarded-For (most proxies do), and Erlangly records it when people sign in. It believes a proxy on the same server: in another container, or one that forwards to 127.0.0.1 and the port (not the server's own address). If your proxy runs on another machine, put its address in TRUSTED_PROXIES too. Otherwise everyone seems to come from the proxy, and after a few hundred sign-ins in three minutes, as on a big floor at the start of a shift, people are asked to wait a few minutes.
  • Only your proxy should reach Erlangly's port: keep it closed to everyone else (Docker opens published ports past ufw, so check from another machine).

Without a domain or a proxy, Erlangly serves plain HTTP, so passwords and API tokens cross the network unencrypted: use that only on a trusted network.

Other settings

Pass these to the install, or change them later in /etc/erlangly/erlangly.conf and run erlangly restart.

  • ERLANGLY_HTTP_PORT and ERLANGLY_HTTPS_PORT: publish on other ports (80 and 443 by default).
  • ERLANGLY_TAG: install a particular version (when installing only: afterwards, erlangly upgrade 0.8.56 installs one).
  • ERLANGLY_URL: the address people open, when your own HTTPS proxy is in front.
  • TRUSTED_PROXIES: that proxy's address, when it runs on another machine (like 192.168.1.10; several separated by commas).
  • ERLANGLY_DAILY_BACKUPS and ERLANGLY_WEEKLY_BACKUPS: how many nightly backups to keep on the server: one a day for that many days, then one a week for that many weeks before those (7 and 4 unless you set them).

How big a server

2 processor cores and 2 GB of memory run a floor of up to 500 agents, like a small cloud server. Erlangly takes about 250 MB of memory once it has started, and about 500 MB on our own test server, with 500 agents and weeks of their simulated ACD's data; the rest is for the operating system and Docker.

Every release is timed on a floor of 500 agents, generating schedules and opening the busiest pages, before it's offered to everyone, and installed, upgraded and run on a fresh virtual machine with 2 cores and 2 GB. The heavy work, generating schedules and scoring adherence, runs beside the web server, so pages stay quick while it does.

More than 500 agents? Tell us, and we'll help you size the server.

How much disk

Most of Erlangly's data is your agents' states from the ACD, which it keeps for adherence: about 18 MB a year for each agent. Upgrades keep a snapshot of the databases from before each of the last two, for rolling back, and nightly backups keep one a day for a week and one a week for the month before, compressed. So by the end of the first year:

AgentsDatabasesWith snapshots and backupsDisk to give the server
260.5 GB2.3 GB20 GB
1001.8 GB8.7 GB25 GB
2504.5 GB22 GB50 GB
5009 GB43 GB80 GB

The last column adds about 5 GB for the operating system, Docker and Erlangly itself (the version running and the one before it, which upgrades keep for rolling back), and room for a backup or an upgrade to make another copy of the databases while it runs. Exports, and backups you keep on the server with erlangly backup, come on top.

The databases grow by as much again each year, so look at the disk now and then: Settings → System and erlangly status show what the data takes and how much is free, and admins are told when it runs low.

How we worked it out: on our sample floor of 500 agents, whose ACD is simulated, each agent on shift sent about 210 state changes a day, which take about 207 bytes each in the database, and had 31 adherence intervals of about 134 bytes. With their schedule, that's about 49 KB a day. We counted every agent every day of the year, which leaves room for an ACD that sends more state changes. A snapshot is a full copy of the databases, and backups compress them about 6 to 1.

Network

What reaches Erlangly, and everything Erlangly and the erlangly command connect to, so your firewall can let in and out only these.

Coming in

PortFromFor
80The people who use itErlangly, over plain HTTP. With a domain (TLS_DOMAIN), it sends them on to HTTPS, and Let's Encrypt may check the domain is yours through it, from the internet.
443The people who use it, and Let's EncryptErlangly over HTTPS, with a domain.
ERLANGLY_HTTP_PORTYour own proxy onlyErlangly behind your own proxy, which takes the two above.
  • Live updates (the wallboard, a schedule being generated, an export being made) come over a WebSocket on the same port, at /cable: a proxy or firewall in front has to let it through.
  • A script that sends agent states or volumes reaches /api/v1, and AI assistants that run in their maker's cloud (claude.ai, ChatGPT) reach /mcp, /oauth and /.well-known, from wherever they run. Desktop and command-line assistants only need to reach it from your computer.
  • Nothing else has to reach the server. Connections to your ACD, single sign-on and email all go out from Erlangly, so nothing on your network has to be open to them.

Going out, to install and upgrade

Each over HTTPS, on port 443.

AddressFor
get.erlangly.comThe installer, the erlangly command and its checksums, the list of releases with their image digests, and which release is the latest.
ghcr.io and pkg-containers.githubusercontent.comErlangly itself: its image, from GitHub's container registry.
get.docker.com and download.docker.comDocker, if the server doesn't have it yet, with your distribution's own package mirror.

A network that can't reach GitHub can keep a copy of Erlangly's image in its own registry: pass ERLANGLY_IMAGE=registry.example.com/erlangly to the install, or put it in /etc/erlangly/erlangly.conf for the next upgrade, and Erlangly is pulled from there by tag: latest for erlangly upgrade, or the version you name (erlangly upgrade 0.8.114). So copy each release under its version, and move latest to the newest.

A registry that needs a sign-in takes ERLANGLY_REGISTRY_USER and ERLANGLY_REGISTRY_TOKEN. The installer and the erlangly command still come from get.erlangly.com.

Going out, while it runs

Over HTTPS, on port 443, unless it says otherwise.

AddressWhenFor
acme-v02.api.letsencrypt.orgWith a domainThe HTTPS certificate, and renewing it every couple of months.
get.erlangly.comOnce a day, unless you turn it off (Settings → System)The update check: the latest version, and whether it fixes a security problem. It sends nothing about your install.
Your mail serverOnce email is set upSending email, on the port you give it under Settings → Email (587 or 465, usually).
Your identity providerWith single sign-onIts published details, signing keys and sign-in: login.microsoftonline.com for Microsoft Entra ID; accounts.google.com, oauth2.googleapis.com and www.googleapis.com for Google Workspace; your Okta address; or another provider's issuer, and the addresses its published details name.
Your ACDWith a direct connectionTwilio Flex: taskrouter.twilio.com. Zoom: zoom.us, api.zoom.us and ws.zoom.us. Genesys Cloud: login, api and streaming on your region's domain, like api.mypurecloud.com or api.cac1.pure.cloud. NICE CXone: cxone.niceincontact.com, and your tenant's API address on niceincontact.com or nicecxone.com. Amazon Connect: connect.region.amazonaws.com, like connect.us-east-1.amazonaws.com. Five9: api.five9.com, api.five9.ca or api.five9.eu.
Your bucketWith LitestreamCopies of each change to the database, at the address in LITESTREAM_REPLICA_URL.
An AI assistant's own addressWhen someone connects an assistant by its address (MCP)The assistant's published details (its name, and where to send people back after they sign in), read from the https address it gives as its ID. Only public addresses, and 10 KB at most.
Your webhooks' addressesOnce an admin adds a webhookSigned events with IDs and dates, to the https address it names (any port), public addresses only, or a private range you allow with erlangly webhooks allow, where plain http is allowed too.
fcm.googleapis.com, jmt17.google.com, *.push.apple.com, updates.push.services.mozilla.com and *.notify.windows.comOnce someone turns notifications on for a device, unless an admin has turned them off (Settings → Notifications)Notifications to phones and computers, through the push service of each person's browser: Google's, Apple's, Mozilla's or Microsoft's (*. stands for any one name). Each is encrypted for the device, so the push service can't read it. Settings → Notifications lists the same hosts.
  • License keys are checked on the server itself: nothing goes out from the server for them. Activating a license goes through an admin's browser instead: it opens store.erlangly.com with the key's id, a random id for the install and its address, and brings a signed code back to the server, which checks it offline. A server that can't reach the internet at all is activated with typed codes.
  • The server's own name lookups (DNS), clock (NTP) and package updates go out too, as on any server.
  • Erlangly connects out directly, and has no setting for an outbound proxy yet: a proxy set for Docker would carry some of its connections and not others (email, and the live feeds from Zoom and Genesys Cloud). If your network needs one, tell us.

Docker Compose

Prefer Compose? The compose.yml runs the same container. The erlangly command adds safer upgrades and backups, so we recommend it.

Behind your own proxy, publish Erlangly's port over IPv4 only, as erlangly install does: "127.0.0.1:8095:80" for a proxy on the same server, "0.0.0.0:8095:80" for one on another machine, never "8095:80". Over IPv6, Docker hands connections on as if they came from its own gateway, which Erlangly trusts as a proxy, so anyone who reached the port over IPv6 could claim any address: they'd get past the sign-in limits and put any address they liked in the audit trail.