Open the server Apps tab
Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.


Microsoft SQL Server 2019 Developer Edition
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the SQL Server template in Server Compass to deploy Microsoft SQL Server 2019 on your VPS, then verify the deployed database with a safe sqlcmd query.
Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find SQL Server in the Server Compass template catalog.

Choose the SQL Server template. Server Compass fills the SQL Server 2019 container, persistent data volume, host port, EULA setting, Developer edition setting, and generated SA password.

Confirm the app name and compose service. In this run, the app was named sql-server-demo and used host port 1433.

Review the generated environment values, keep the database password masked, confirm the web port is available, and click Deploy Now.

Keep the deployment modal open while Server Compass uploads the compose file, pulls the SQL Server image, starts the container, and verifies the stack.

After deployment finishes, return to the Apps tab and confirm the SQL Server app is marked Running with the database port available.

Open the app detail view and verify the running SQL Server container. In this tutorial run, a safe sqlcmd query was executed inside the container to confirm the server accepts connections without exposing the generated SA password.

The SQL Server container returned a successful sqlcmd query result inside the deployed container.
It deploys the Microsoft SQL Server 2019 container with Developer edition enabled, a persistent data volume, EULA acceptance, and a generated SA password.
The tutorial used host port 1433, which maps to SQL Server container port 1433.
SQL Server is a database service, not a web application. The tutorial verifies it with a sqlcmd query inside the running container instead of opening a browser page.
No. The deployment guide should live on the SQL Server template detail page and be linked from the reusable template deployment docs page.
Learn how to self-host SQL Server 2019 with this hands-on deployment guide.
Launch your preferred terminal and connect to your VPS using SSH.
# Log into your server
ssh root@<your-server-ip>
# If using key-based auth
ssh -i ~/.ssh/my-key root@<your-server-ip>First time? Docker not installed? Run: curl -fsSL https://get.docker.com | sh
Prepare a directory for your application files and configuration.
# Create and navigate to project directory
mkdir -p ~/apps/sql-server
cd ~/apps/sql-serverCreate the Docker Compose configuration file with these contents:
services:
mssql:
image: mcr.microsoft.com/mssql/server:2019-latest
ports:
- "1433:1433"
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=<your-sa-password>
- MSSQL_PID=Developer
volumes:
- mssql_data:/var/opt/mssql
restart: unless-stopped
volumes:
mssql_data:
PORTHost port(default: 1433)SA_PASSWORDSA passwordLaunch the application stack using Docker Compose.
# Deploy the application
docker compose up -d
# Check container health
docker compose ps
# Monitor logs
docker compose logs -f --tail=100Enable external access by opening the necessary port.
# Allow the application port through firewall
sudo ufw allow 1433/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:1433Let Server Compass handle the complexity. Deploy SQL Server 2019 with a simple, intuitive interface.
After deploying SQL Server 2019 with Server Compass, complete these steps to finish setup
Connect with sqlcmd or SSMS
Create databases and users
Set up backups
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting SQL Server 2019
Simply download Server Compass, connect to your VPS, and select SQL Server 2019 from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
SQL Server 2019 requires a minimum of 2048MB RAM. We recommend a VPS with at least 4096MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard SQL Server 2019 backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest SQL Server 2019 image will be pulled and deployed with zero downtime.
SQL Server 2019 is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Download Server Compass and deploy SQL Server 2019 to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass