Documentation Index
Fetch the complete documentation index at: https://na-36-docs-v2-archived.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Complete: needs review
Next Step: Configure the Gateway
Jump to the configuration guide to see configuration options for the Gateway
I think the volumes section belongs in configuration not installation
Show Really only 2 options for install (Docker Hub or Source)
Show Really only 2 options for install (Docker Hub or Source)
Pull from Docker Hub (recommended) or build from sourceYou can also build locally instead of pulling from Docker Hub:Clone and build
git clone https://github.com/livepeer/go-livepeer.git
cd go-livepeer
make livepeer
The Makefile shows the build process Makefile:110-112 and includes all dependencies including FFmpeg and CUDA support.
For development, the source build gives you more flexibility to modify and test changes.
Show Notes on install vs Config
Show Notes on install vs Config
Installation vs Configuration
Installation refers to obtaining the software:Pulling the Docker image: docker pull livepeer/go-livepeer:master
Or building from source: make livepeer
Configuration refers to setting up runtime parameters:Creating docker-compose.yml with command-line flags livepeer.go:112-197
Specifying network settings, transcoding options, AI models, etc.
More Accurate Installation Steps
Install: Pull Docker image or build from source
Configure: Create docker-compose.yml with your specific flags and settings
Deploy: Run docker-compose up -d
The docker-compose file is where you define all the configuration flags like -gateway, -network, -transcodingOptions, -aiModels, etc. starter.go:80-178 . This makes it fundamentally a configuration step that customizes how the installed software runs.Notes
This distinction matters because:You can install the same software multiple ways (Docker, source build, binary)
Each installation method requires different configuration approaches
The configuration contains your business logic and operational parameters
Installation is a one-time setup, configuration evolves with your needs
The Livepeer repository provides examples in the box/ directory that demonstrate different configuration patterns box.md:1-119 .
Show Create ETH Wallet-> goes in config
Show Create ETH Wallet-> goes in config
Create Livepeer Gateway ETH account
In this step we need to start the Gateway in order to create an Ethereum account.docker compose run -it gateway
Make sure to never share or lose access to either the password or
the keystore file.
Keep this password handy, we will use it in the following steps.
nano -p /var/lib/docker/volumes/gateway-lpData/_data/eth-secret.txt
Modify Docker compose file to include eth-secret.txt
nano docker-compose.yml
-ethKeystorePath and save-ethPassword=/root/.lpData/eth-secret.txt
version: '3.9'
services:
gateway:
image: livepeer/go-livepeer:<RELEASE_VERSION>
container_name: "gateway"
hostname: "gateway"
ports:
- 1935:1935
- 8935:8935
volumes:
- gateway-lpData:/root/.lpData
command: '-ethUrl=<YOUR ARB APC>
-ethKeystorePath=/root/.lpData
-ethPassword=/root/.lpData/eth-secret.txt
-network=arbitrum-one-mainnet
-cliAddr=gateway:5935
-broadcaster=true
-monitor=true
-v=99
-blockPollingInterval=20
-maxPricePerUnit=300
-pixelsPerUnit=1
-rtmpAddr=0.0.0.0:1935
-httpAddr=0.0.0.0:8935
'
volumes:
gateway-lpData:
external: true
docker compose up -d
docker exec -it gateway /bin/bash
livepeer_cli -host gateway -http 5935
Broken Link