Skip to content

How to setup MeTube (with Docker & Caddy)

Untested

Description

MeTube is a web GUI for yt-dlp with playlist support. It allows you to download videos from YouTube and dozens of other sites.

Create a DNS record

Go to cPanel and add a new record (e.g. metube.akdscloud.eu).

Caddy

metube.akdscloud.eu:443 {
    header Strict-Transport-Security max-age=31536000;
    reverse_proxy localhost:8081
}

Folders

Create the folder structure.

cd ~/services
mkdir -p metube/downloads

Docker

  1. Add the metube section to your docker-compose.yml file:

      metube:
        image: ghcr.io/alexta69/metube
        container_name: metube
        restart: unless-stopped
        ports:
          - "8081:8081"
        volumes:
          - ./metube/downloads:/downloads
        depends_on:
          - caddy
    
  2. Download and start metube:

    docker compose up -d metube
    
  3. Restart Caddy to get an SSL certificate (details here)

Try it out

See if you can access the metube web interface.

Troubleshooting

If it doesn't work, see the troubleshooting guide.

Github page