Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.58 KB

run-with-docker-compose.md

File metadata and controls

45 lines (32 loc) · 1.58 KB

Docker Compose

Follow these instructions to configure a docker-compose.yml for your system.

Note

These instructions assume that you have docker and docker-compose installed for your system.

Depending on how you have installed this, the commands to execute docker compose may vary.

PREPARE DIRECTORIES:

Warning

These commands are meant to be run as your user. Do not run them as root.

If you do run these commands as root, you may need to manually fix the permissions and ownership after.

Create a directory for your service:

sudo mkdir -p /data/containers/tvh-iptv
sudo chown -R $(id -u):$(id -g) /data/containers/tvh-iptv

If you modify the path /data/containers/tvh-iptv, ensure you also modify the path in your docker-compose.yml file below.

Create a Docker Compose file /data/containers/tvh-iptv/docker-compose.yml.

Populate this file with the contents of one of these Docker Compose templates:

EXECUTE:

Navigate to your compose location and execute it.

cd /data/containers/tvh-iptv
sudo docker-compose up -d --force-recreate --pull

After container executes successfully, navigate to your docker host URL in your browser on port 9985 and click connect. http://<host-ip>:9985/