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.


Log aggregation system by Grafana
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the Loki template in Server Compass to deploy a log aggregation service on your VPS, then verify the Loki readiness endpoint in a browser.
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 Loki in the Server Compass template catalog.

Choose the Loki template. Server Compass fills the Loki service, Promtail sidecar, persistent volumes, and API port.

Confirm the app name and compose services. In this run, the app was named loki-demo and used host port 3100.

Review the generated compose settings, confirm the Loki API port is available, and click Deploy.

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

After deployment finishes, return to the Apps tab and confirm the Loki app is marked Running with its application URL available.

Open the application URL with /ready appended. A ready response confirms the Loki HTTP API is reachable.

The Loki /ready endpoint loaded successfully and reported the service is ready.
It deploys the Loki container with a persistent data volume and a Promtail sidecar mounted to host logs.
The tutorial used host port 3100, which maps to the Loki HTTP API on container port 3100.
Loki is an API service, not a standalone dashboard. The /ready endpoint proves the service is reachable; Grafana is the usual dashboard layer for browsing logs.
No. The deployment guide should live on the Loki template detail page and be linked from the reusable template deployment docs page.
Take the DIY route and deploy Loki on your own server using Docker.
Access your server's command line by opening a terminal and running the SSH command below.
# SSH into your server
ssh root@your-server-ip
# Using a custom SSH key
ssh -i ~/.ssh/id_rsa root@your-server-ipFirst time? Need Docker? Install it: curl -fsSL https://get.docker.com | sh
Set up the folder structure for your Docker deployment.
# Create and navigate to project directory
mkdir -p ~/apps/loki
cd ~/apps/lokiSet up your Docker Compose file with this configuration:
services:
loki:
image: grafana/loki:latest
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
volumes:
- loki_data:/loki
restart: unless-stopped
promtail:
image: grafana/promtail:latest
volumes:
- /var/log:/var/log:ro
- promtail_config:/etc/promtail
restart: unless-stopped
depends_on:
- loki
volumes:
loki_data:
promtail_config:
PORTHost port(default: 3100)Start all services defined in your compose file.
# Start the containers in detached mode
docker compose up -d
# Check if containers are running
docker compose ps
# View logs
docker compose logs -fOpen the port so you can access the application externally.
# Allow the application port through firewall
sudo ufw allow 3100/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:3100Forget SSH and YAML files. Deploy Loki visually with Server Compass in just a few clicks.
After deploying Loki with Server Compass, complete these steps to finish setup
Configure Promtail
Add Loki as Grafana data source
Create log dashboards
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting Loki
Simply download Server Compass, connect to your VPS, and select Loki from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
Loki requires a minimum of 512MB 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 Loki backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Loki image will be pulled and deployed with zero downtime.
Loki 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 Loki to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass