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.


Seamless multi-master sync with built-in REST API
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the CouchDB template in Server Compass to deploy a document database with persistent storage on your VPS, then verify the HTTP API from inside the container.
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 CouchDB in the Server Compass template catalog.

Choose the CouchDB template. Server Compass fills the CouchDB container, persistent data and config volumes, host port, admin username, and generated password.

Confirm the app name and compose service. In this run, the app was named couchdb-demo and used host port 5984.

Review the generated environment values, keep the CouchDB admin password masked, confirm the HTTP port is available, and click Deploy Now.

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

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

Open the app detail view and verify the running CouchDB container. In this tutorial run, an authenticated request to the local CouchDB API returned the expected welcome response without exposing the generated password.

The CouchDB container returned a successful API response from an authenticated internal curl request.
It deploys a CouchDB container with persistent data and config volumes, an admin username, and a generated admin password.
The tutorial used host port 5984, which maps to CouchDB container port 5984.
CouchDB includes the Fauxton web UI, but the tutorial verifies the database service with an authenticated internal API request so no admin password is shown in a browser screenshot.
No. The deployment guide should live on the CouchDB template detail page and be linked from the reusable template deployment docs page.
Deploy CouchDB the traditional way with SSH and Docker Compose.
Begin by establishing a secure connection to your server through the terminal.
# Access your VPS
ssh root@YOUR_SERVER_IP
# With SSH key authentication
ssh -i ~/.ssh/your-private-key root@YOUR_SERVER_IPFirst time? Ensure Docker is installed first: curl -fsSL https://get.docker.com | sh
Create a dedicated folder for your application files.
# Create and navigate to project directory
mkdir -p ~/apps/couchdb
cd ~/apps/couchdbCreate the following docker-compose.yml in your project directory:
services:
couchdb:
image: couchdb:3
ports:
- "5984:5984"
environment:
- COUCHDB_USER=admin
- COUCHDB_PASSWORD=<your-couchdb-password>
volumes:
- couchdb_data:/opt/couchdb/data
- couchdb_config:/opt/couchdb/etc/local.d
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5984/"]
interval: 30s
timeout: 10s
retries: 5
volumes:
couchdb_data:
couchdb_config:
PORTCouchDB port(default: 5984)COUCHDB_USERAdmin username(default: admin)COUCHDB_PASSWORDAdmin passwordRun Docker Compose to launch your application.
# Launch the stack
docker compose up -d
# Verify container status
docker compose ps
# Follow the logs
docker compose logs --followConfigure UFW to allow traffic to your application.
# Allow the application port through firewall
sudo ufw allow 5984/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:5984Server Compass makes deploying CouchDB effortless. Visual setup, one-click deploy, done.
After deploying CouchDB with Server Compass, complete these steps to finish setup
Access Fauxton UI at /_utils
Create databases for your applications
Set up design documents for views and filters
Configure replication if using multiple nodes
Set up monitoring
Configure backup schedules
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting CouchDB
Simply download Server Compass, connect to your VPS, and select CouchDB from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
CouchDB requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB 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 CouchDB backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest CouchDB image will be pulled and deployed with zero downtime.
CouchDB 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 CouchDB to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass