How to install DocuSeal on a Cloud VPS
Updated 11/29/2026
DocuSeal is an open-source electronic signature platform, an alternative to DocuSign: upload a PDF, place signature, date and text fields, and send it to one or more signers, with a full audit trail and the signed document at the end.
The self-hosted version removes per-user subscriptions: you pay only for the server, no matter how many teammates use the app.
One-click install on cloudlinux.ro
The fastest way: DocuSeal installs automatically at the first boot of a new server.
- Create a Cloud VPS from the control panel.
- In the configuration step, pick DocuSeal from the app catalog.
- Start the server. The install runs in the background for a few minutes and its status shows on the server page.
- Access details and generated passwords are saved on the server in
/root/app-credentials.txt.
Manual install on any Ubuntu server
If you prefer doing it yourself, below is the exact script our automatic install runs. Execute it as root on a fresh Ubuntu server (24.04 recommended). It stops at the first error, and when it finishes you will find the access details in /root/app-credentials.txt.
export DEBIAN_FRONTEND=noninteractive
cl_firewall
curl -fsSL https://get.docker.com | sh
mkdir -p /opt/docuseal
cd /opt/docuseal
ADMIN_EMAIL="admin@${CL_HOSTNAME}"
ADMIN_PASS=$(openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | cut -c1-20)
cat > .env <<ENV
SECRET_KEY_BASE=$(openssl rand -hex 64)
APP_URL=https://${CL_HOSTNAME}
ENV
chmod 600 .env
cat > docker-compose.yml <<'YML'
services:
docuseal:
image: docuseal/docuseal:3.4.0
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
environment:
FORCE_SSL: "true"
APP_URL: ${APP_URL}
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
volumes:
- docuseal-data:/data/docuseal
volumes:
docuseal-data:
YML
docker compose pull
docker compose up -d
for i in $(seq 1 60); do curl -fs -o /dev/null http://localhost:3000/up && break; sleep 5; done
curl -fs -o /dev/null http://localhost:3000/up
# Until an account exists every page leads to /setup: fill it in here, before the site is public.
JAR=$(mktemp)
TOKEN=$(curl -fs -c "$JAR" -b "$JAR" http://localhost:3000/setup | grep -o 'name="authenticity_token" value="[^"]*"' | head -1 | sed 's/.*value="//;s/"$//')
curl -fs -o /dev/null -c "$JAR" -b "$JAR" -X POST http://localhost:3000/setup \
--data-urlencode "authenticity_token=${TOKEN}" \
--data-urlencode 'user[first_name]=Admin' \
--data-urlencode 'user[last_name]=Cloudlinux' \
--data-urlencode "user[email]=${ADMIN_EMAIL}" \
--data-urlencode "user[password]=${ADMIN_PASS}" \
--data-urlencode 'account[name]=Compania mea' \
--data-urlencode 'account[timezone]=Bucharest' \
--data-urlencode "encrypted_config[value]=https://${CL_HOSTNAME}"
rm -f "$JAR"
# Setup is closed once the account exists: it now leads to the sign-in page.
curl -s -o /dev/null -w '%{redirect_url}' http://localhost:3000/setup | grep -q sign_in
{
printf 'DocuSeal: email %s, parola %s\n' "$ADMIN_EMAIL" "$ADMIN_PASS"
printf 'Pentru trimiterea documentelor pe email configureaza SMTP din Settings > Email (altfel copiezi linkul de semnare manual).\n'
printf 'Colegii se invita din Settings > Users; nu exista inregistrare publica.\n'
printf 'Actualizare: in /opt/docuseal schimbi versiunea imaginii in docker-compose.yml, apoi docker compose pull && docker compose up -d\n'
} > /root/app-credentials.txt
cl_expose DocuSeal 3000
You can also save this script as a recipe in your account and reuse it on any new server.
Put this guide into practice on your own VPS
EU cloud servers, billed hourly, ready in minutes, with one-click installs for dozens of apps.
See pricingRelated tutorials
How to install Memos on a Cloud VPS
Complete Memos guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 11/29/2026ApplicationsHow to install Open Notebook on a Cloud VPS
Complete Open Notebook guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 11/29/2026ApplicationsHow to install Pocket ID on a Cloud VPS
Complete Pocket ID guide: one-click install on cloudlinux.ro or manual setup on any Ubuntu server, step by step.
Updated 11/29/2026