Livepeer will require files to be placed on the host and within the docker container. Here is a list of the key folders used by the docker install.
By default, docker will store all volumes in the /var/lib/docker/volumes
directory
This installation will create a volume called: gateway-lpData
and it will be
located at /var/lib/docker/volumes/gateway-lpData/_data
Within the docker container, the volume gateway-lpData
will be mounted at
/root/.lpData
If docker is already installed, you can skip this step. The installation assumes you are running Docker 20.10.x. If an older version of docker is installed remove it with the following command:
As the root user (or sudo), run the following:
Install Docker
Create a Docker volume
Create Docker Compose file from the root user’s home directory /root/
Copy and paste the following and save the following
In this step we need to start the Gateway in order to create an Ethereum account.
When prompted for the ETH password, enter a strong password to secure your Ethereum account. This password is used to decrypt and access the ETH private key.
After you see the message that the Ethereum account has been unlocked, CTRL+C to exit the Livepeer docker instance.
Using the previously created ETH password, create the eth-secret file
Add the following line below the -ethKeystorePath
and save
Here is the full modified version of the docker-compose.yml file
Start Livepeer in the background
Launch the livepeer_cli
Jump to Configure Transcoding Options to finish configuring the Gateway
Livepeer will require files to be placed on the host and within the docker container. Here is a list of the key folders used by the docker install.
By default, docker will store all volumes in the /var/lib/docker/volumes
directory
This installation will create a volume called: gateway-lpData
and it will be
located at /var/lib/docker/volumes/gateway-lpData/_data
Within the docker container, the volume gateway-lpData
will be mounted at
/root/.lpData
If docker is already installed, you can skip this step. The installation assumes you are running Docker 20.10.x. If an older version of docker is installed remove it with the following command:
As the root user (or sudo), run the following:
Install Docker
Create a Docker volume
Create Docker Compose file from the root user’s home directory /root/
Copy and paste the following and save the following
In this step we need to start the Gateway in order to create an Ethereum account.
When prompted for the ETH password, enter a strong password to secure your Ethereum account. This password is used to decrypt and access the ETH private key.
After you see the message that the Ethereum account has been unlocked, CTRL+C to exit the Livepeer docker instance.
Using the previously created ETH password, create the eth-secret file
Add the following line below the -ethKeystorePath
and save
Here is the full modified version of the docker-compose.yml file
Start Livepeer in the background
Launch the livepeer_cli
Jump to Configure Transcoding Options to finish configuring the Gateway