Pretty Good Data Room

Deploying on other clouds

The data room runs on any Linux server that can run Docker, so every cloud works the same way. The steps are always:

  1. Create a small Ubuntu server (the latest LTS, 1 GB of memory or more).
  2. Give it an address that does not change, and open ports 22, 80 and 443.
  3. Point your domain at it with a DNS A record, for example room → the server's IP.
  4. Sign in and run one command:
curl -fsSL https://raw.githubusercontent.com/antistud/pretty-good-dataroom/main/install.sh | sudo bash -s -- room.example.com

The installer asks for your email settings, starts the room behind HTTPS and prints a setup token. From there, follow Getting started.

What differs between clouds is what each one calls those things, and which email ports it blocks. The notes below cover that. Menu names change, so treat them as a guide and check the cloud's own help if something looks different.

AWS

The simple route is Lightsail, Amazon's fixed-price servers.

On EC2 it is the same idea with more knobs:

Email: AWS blocks outgoing port 25. Use port 587 or 2525 with your email service. If you use Amazon SES, new accounts start in a sandbox that only sends to verified addresses; ask AWS to move you out of it before inviting anyone.

Google Cloud

Email: Google Cloud blocks outgoing port 25. Use 587 or 2525.

Microsoft Azure

Email: many Azure subscriptions block outgoing port 25. Use 587 or 2525.

Hetzner

Email: new Hetzner accounts have outgoing ports 25 and 465 blocked. Use 587 or 2525.

Linode (Akamai) and Vultr

Email: both restrict outgoing mail ports on new accounts. Use 587 or 2525, or ask support to lift the restriction.

DigitalOcean

There is a click-by-click guide.

Setting it up without signing in

Most clouds let you paste a script that runs on first boot, called user data, a startup script or cloud-init. Paste this, with your own values, and the server installs itself:

#!/bin/bash
export SMTP_HOST=smtp.example.com SMTP_PORT=587 SMTP_USER=your-username SMTP_PASS=your-password SMTP_FROM="Acme <room@example.com>"
curl -fsSL https://raw.githubusercontent.com/antistud/pretty-good-dataroom/main/install.sh | bash -s -- room.example.com > /root/dataroom-install.log 2>&1

Then read the setup token on the server with sudo grep SETUP_TOKEN /opt/dataroom/.env.

Your own hardware, or anything else

A home server, a NAS or a company machine works too, as long as:

Container platforms that run a single image without a persistent disk are not a good fit: the room keeps its database and uploaded files in one volume, and losing that volume loses the room. If a platform gives you docker compose and a volume that survives restarts, it should work, but only plain servers are tested.

If the page does not load

Edit this page on GitHub