Back to all templates
MediaCMS logo

MediaCMS

Application1024MB+ RAM

Modern media CMS for video and audio content

mediacmsvideoaudio

Deploy MediaCMS in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select MediaCMS

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy MediaCMS on a VPS with Server Compass

Use the MediaCMS template in Server Compass to deploy an open-source video and media CMS with PostgreSQL, Redis, an admin account, and persistent media storage, then verify the MediaCMS web UI in a browser.

About 7 minutesBrowser verified
1
Step 1

Open the server Apps tab

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

Server Compass Apps tab before creating a MediaCMS app
2
Step 2

Choose an app template

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

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for MediaCMS

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

Searching for MediaCMS in the Server Compass template picker
4
Step 4

Select the MediaCMS template

Choose the MediaCMS template. Server Compass fills the MediaCMS image, public URL, admin account, PostgreSQL, Redis, and persistent media storage.

MediaCMS template selected in Server Compass
5
Step 5

Review the MediaCMS settings

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

Reviewing MediaCMS project settings and compose services
6
Step 6

Deploy MediaCMS

Review the generated environment values, confirm the port is available, and click Deploy Now.

Reviewing MediaCMS environment variables and port before deployment
7
Step 7

Watch the deployment progress

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

Server Compass deploying the MediaCMS template on the VPS
8
Step 8

Confirm MediaCMS is running

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

MediaCMS template running in the Server Compass Apps tab
9
Step 9

Open MediaCMS in the browser

Open the application URL in a browser. The MediaCMS web UI confirms the site is reachable.

The deployed MediaCMS web UI loaded in a browser

After MediaCMS Opens

  • Sign in with the generated admin account before accepting production uploads.
  • Confirm the media data volume location before importing production media.
  • Add a domain and HTTPS before exposing the media CMS to users.
  • Configure site settings, upload policy, users, encoding settings, and moderation before production use.
  • Back up the MediaCMS data and PostgreSQL volumes before relying on the server for production media libraries.

Verified Result

The MediaCMS web UI loaded successfully in a browser.

MediaCMS deployment questions

What does the MediaCMS template deploy?

It deploys MediaCMS with PostgreSQL, Redis, and persistent MediaCMS and database volumes.

Which port did the tutorial use?

The tutorial used host port 8080, which maps to the MediaCMS web server on container port 8080.

Why does the guide stop at the homepage?

The tutorial verifies the homepage because instance settings, admin account, media settings, upload policy, and site settings should be configured for the real server.

Should this become a blog post?

No. The deployment guide should live on the MediaCMS template detail page and be linked from the reusable template deployment docs page.

Command Line Setup

Install MediaCMS Manually

Set up MediaCMS yourself using Docker Compose and the command line.

1

Remote into Your Server

Initiate a secure shell connection to your server using the command below.

terminal
# Connect to your VPS
ssh root@your-server-ip

# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ip

First time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh

2

Create the App Directory

Organize your deployment by creating a dedicated project folder.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/mediacms
cd ~/apps/mediacms
3

Write Your docker-compose.yml

Create a new docker-compose.yml file and paste this configuration:

docker-compose.yml
services:
  mediacms:
    image: mediacms/mediacms:latest
    ports:
      - "8080:80"
    environment:
      - ADMIN_USER=admin
      - ADMIN_EMAIL=<your-admin-email>
      - ADMIN_PASSWORD=<your-admin-password>
      - FRONTEND_HOST=<your-base-url>
      - SECRET_KEY=<your-secret-key>
      - REDIS_LOCATION=redis://redis:6379/1
      - POSTGRES_HOST=db
      - POSTGRES_PORT=5432
      - POSTGRES_NAME=mediacms
      - POSTGRES_USER=mediacms
      - POSTGRES_PASSWORD=<your-db-password>
    volumes:
      - mediacms_data:/home/mediacms.io/mediacms
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_healthy

  db:
    image: postgres:16-alpine
    environment:
      - POSTGRES_USER=mediacms
      - POSTGRES_PASSWORD=<your-db-password>
      - POSTGRES_DB=mediacms
    volumes:
      - postgres_data:/var/lib/postgresql/data
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U mediacms"]
      interval: 10s
      timeout: 5s
      retries: 5

  redis:
    image: redis:7-alpine
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  mediacms_data:
  postgres_data:
Configuration Options
PORTHost port(default: 8080)
BASE_URLPublic URL
ADMIN_USERAdmin user(default: admin)
ADMIN_EMAILAdmin email
ADMIN_PASSWORDAdmin password
DB_PASSWORDDB password
4

Launch the Containers

Start the services and tail the logs to verify startup.

terminal
# Spin up containers
docker compose up -d

# Verify deployment
docker compose ps

# Check logs for errors
docker compose logs -f
5

Open Firewall Ports

Open the required port in your firewall to allow access.

terminal
# Allow the application port through firewall
sudo ufw allow 8080/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:8080
Skip the Terminal

Want the easy way? Try Server Compass.

No terminal needed. Deploy MediaCMS through a visual dashboard with automatic configuration.

  • Visual config editor
  • Instant deployment
  • Automatic HTTPS
  • Smooth updates
  • Live monitoring
  • Quick rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying MediaCMS with Server Compass, complete these steps to finish setup

1

Login with admin credentials

2

Configure site settings

3

Upload media

Need help? Check out our documentation for detailed guides.

MediaCMS FAQ

Common questions about self-hosting MediaCMS

How do I deploy MediaCMS with Server Compass?

Simply download Server Compass, connect to your VPS, and select MediaCMS from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for MediaCMS?

MediaCMS requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing MediaCMS data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard MediaCMS backup and restore procedures.

How do I update MediaCMS to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest MediaCMS image will be pulled and deployed with zero downtime.

Is MediaCMS free to self-host?

MediaCMS 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.

Ready to Self-Host MediaCMS?

Download Server Compass and deploy MediaCMS to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass