How to install FreeScout on a Cloud VPS
Updated 11/29/2026
FreeScout is a shared inbox and helpdesk for your team, an alternative to Help Scout and Zendesk: support emails become tickets with assignment, saved replies, internal notes, several mailboxes and a customer portal.
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: FreeScout installs automatically at the first boot of a new server.
- Create a Cloud VPS from the control panel.
- In the configuration step, pick FreeScout 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/freescout
cd /opt/freescout
ADMIN_EMAIL="admin@${CL_HOSTNAME}"
ADMIN_PASS=$(openssl rand -base64 24 | tr -dc 'A-Za-z0-9' | cut -c1-20)
cat > .env <<ENV
DB_PASS=$(openssl rand -hex 24)
DB_ROOT_PASS=$(openssl rand -hex 24)
ADMIN_EMAIL=${ADMIN_EMAIL}
ADMIN_PASS=${ADMIN_PASS}
APP_URL=https://${CL_HOSTNAME}
ENV
chmod 600 .env
# The image creates the admin from ADMIN_* on an empty database; queue and scheduler run inside it.
cat > docker-compose.yml <<'YML'
services:
app:
image: nfrastack/freescout:2.2.27
restart: always
ports:
- "127.0.0.1:8080:80"
depends_on:
db: { condition: service_healthy }
volumes:
- freescout-data:/data
environment:
TIMEZONE: Europe/Bucharest
DB_TYPE: mariadb
DB_HOST: db
DB_PORT: "3306"
DB_NAME: freescout
DB_USER: freescout
DB_PASS: ${DB_PASS}
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_FIRST_NAME: Admin
ADMIN_LAST_NAME: Suport
ADMIN_PASS: ${ADMIN_PASS}
APP_URL: ${APP_URL}
FREESCOUT_APP_TRUSTED_PROXIES: 172.16.0.0/12
db:
image: mariadb:11.8
restart: always
volumes:
- freescout-db:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASS}
MARIADB_DATABASE: freescout
MARIADB_USER: freescout
MARIADB_PASSWORD: ${DB_PASS}
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 5s
timeout: 5s
retries: 30
volumes:
freescout-data:
freescout-db:
YML
docker compose pull
docker compose up -d
# The first start creates the schema (several minutes); the app answers for its own hostname over https.
for i in $(seq 1 150); do curl -fs -o /dev/null -H "Host: ${CL_HOSTNAME}" -H 'X-Forwarded-Proto: https' http://127.0.0.1:8080/login && break; sleep 5; done
curl -fs -o /dev/null -H "Host: ${CL_HOSTNAME}" -H 'X-Forwarded-Proto: https' http://127.0.0.1:8080/login
{
printf 'FreeScout: email %s, parola %s\n' "$ADMIN_EMAIL" "$ADMIN_PASS"
printf 'Adauga o casuta de suport din Manage > Mailboxes: primire prin IMAP, trimitere prin SMTP (datele casutei tale de email).\n'
printf 'Colegii se adauga din Manage > Users; nu exista inregistrare publica.\n'
printf 'Actualizare: in /opt/freescout schimbi versiunea imaginii in docker-compose.yml, apoi docker compose pull && docker compose up -d\n'
} > /root/app-credentials.txt
cl_expose FreeScout 8080
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