Quickstart (self-host)
Install opendesk on your own server with one command, then create the first account and set up email.
Self-hosted opendesk is free forever and runs the same code as the hosted service. One command installs it with Docker, generates every secret and serves it over HTTPS. When it is done, your server runs this:
Get a server
Any Linux machine on amd64 or arm64 with Docker works; 2 vCPUs and 4 GB of RAM is a good start for a small team. The installer offers to install Docker if it is missing. See Requirements.
Terminal window docker compose version # Docker with the Compose pluginPoint a domain at it
Create a DNS
Arecord (andAAAAfor IPv6), such asdesk.example.com, with the server’s address, and open ports 80 and 443. Caddy needs both to get and renew the certificate.Terminal window dig +short desk.example.com # should print the server's addressRun the installer
Terminal window curl -fsSL https://opendesk.sh/install.sh | shIt asks for your domain and an email address for the TLS certificate. To answer up front:
Terminal window curl -fsSL https://opendesk.sh/install.sh | sh -s -- --domain desk.example.com --email [email protected]To read the script before running it, see Verify before running.
Check that it is up
The installer waits for opendesk to answer, then prints its address.
opendesk-ctlshows the containers and their health:Terminal window /opt/opendesk/opendesk-ctl statusCreate the first account
Open
https://desk.example.comand sign up. The first account becomes the workspace owner. Then name your workspace and connect a mailbox, as in the Cloud quickstart, which shows each screen.Set up email
Until you configure it, verification, password reset and invitation emails are printed to the log instead of sent:
Terminal window /opt/opendesk/opendesk-ctl logs opendeskSet
MAIL_DRIVERand your SMTP server in/opt/opendesk/.env, then apply it withopendesk-ctl start. See Email setup.
Next steps
Section titled “Next steps”- Read the install script reference for every flag, including
--wizard. - Configure Google and Microsoft OAuth for one-click mailbox connections and sign-in.
- Plan backups and upgrades.