Install on Linux with Docker

This guide explains how to get Tridentstream Media Server up and running on a server where you have access to Docker.

Prerequisite

  • A server with Docker access, this guide assumes Ubuntu or Debian
  • A domain pointed towards your server is strongly encouraged as this guide assumes it

If you do not already have docker and docker-compose installed, do this:

apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common -y && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
apt-get install docker-ce docker-ce-cli containerd.io -y && \
curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose && \
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Installation

To get started, download and unzip the config file bundle

curl -L -o bundle.zip https://github.com/tridentstream/setups/raw/master/linux-docker/bundle.zip && \
unzip bundle.zip -d tridentstream && \
rm bundle.zip && \
cd tridentstream

OPTIONAL: If you do not have your own webserver to be infront of the Tridentstream instance, then traefik is recommended. It’s easy to get going and is already included.

docker network create web && \
cd traefik && \
touch acme.json && \
chmod 600 acme.json && \
docker-compose up -d && \
cd ..

Time to get Tridentstream bootstrapped.

# If you do not need to use built-in deluge, skip -d
./bootstrap.sh -d -o example.com

Please note, if you do not use traefik as prescribed, then you will need to modify docker-compose.yml to fit your needs.

When Tridentstream is bootstrapped, it can be started by executing start.sh.

./start.sh

If you decided to include Deluge, it is now available at: https://example.com/_deluge_web/.

It is strongly recommended that you change the default Deluge WebUi password.

First time you login, a new user is created with the info you login with.