{"id":13597627,"url":"https://github.com/AuthorityNull/Livepeer-Docker-Portainer","last_synced_at":"2025-04-10T05:32:58.979Z","repository":{"id":50588002,"uuid":"519537281","full_name":"AuthorityNull/Livepeer-Docker-Portainer","owner":"AuthorityNull","description":"A guide for Orchestrators looking to improve operational efficiency, specifically those running a multi-node setup.","archived":false,"fork":false,"pushed_at":"2022-08-12T16:09:58.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-06T22:40:08.820Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AuthorityNull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-30T14:25:15.000Z","updated_at":"2022-08-12T12:10:20.000Z","dependencies_parsed_at":"2022-09-15T04:11:58.313Z","dependency_job_id":null,"html_url":"https://github.com/AuthorityNull/Livepeer-Docker-Portainer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuthorityNull%2FLivepeer-Docker-Portainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuthorityNull%2FLivepeer-Docker-Portainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuthorityNull%2FLivepeer-Docker-Portainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuthorityNull%2FLivepeer-Docker-Portainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AuthorityNull","download_url":"https://codeload.github.com/AuthorityNull/Livepeer-Docker-Portainer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248163305,"owners_count":21057906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T17:00:37.435Z","updated_at":"2025-04-10T05:32:58.384Z","avatar_url":"https://github.com/AuthorityNull.png","language":"Shell","funding_links":[],"categories":["Network Tools"],"sub_categories":["Node Operator Tools"],"readme":"# Livepeer-Docker-Portainer\n\nA guide for Orchestrators looking to improve operational efficiency, specifically those running a multi-node setup.\nhttps://forum.livepeer.org/t/guide-livepeer-with-docker-and-portainer-for-operating-at-scale/1850\n\n# Directories\n\nEach Directory included in this repo.\n\n## docker-volumes\n\nAll the files needed to prepare your Livepeer, Monitoring, and Portainer docker volumes.\n(lpdata, prometheus-config, and traefik volumes)\n\n## linux-scripts\n\nLinux scripts to aide running the necessary server installation and configuration setup.\n\n## portainer\n\nThe docker compose file to run the Portainer UI and Edge Server\n\n## livepeer-combined\n\nThe Portainer Template for the Livepeer Combined O/T use case\n\n## livepeer-standalone\n\nThe Portainer Template for the Livepeer Standalone O use case\n\n## livepeer-transcoder\n\nThe Portainer Template for the Livepeer Transcoder use case\n\n## monitor\n\nThe Portainer Template for the Grafana,Prometheus Monitoring use case\n\n# Placeholders\n\nMake sure you edit each file and replace the following placeholder values:\n\n```\neth_acct.json - YOUR_ETH_ACCT_JSON\neth_secret.json - YOUR_ETH_ACCT_PASSWORD\norch_secret.txt - YOUR_ORCH_SECRET\nlpcombined.conf - YOUR_ETH_ACCT_ADDRESS, YOUR_ORCH_IP\nlporchestrator.conf - YOUR_ETH_ACCT_ADDRESS, YOUR_ORCH_IP\nlptranscoder.conf - YOUR_ORCH_IP\ntraefik.yml - email@domain.com\n\n# Optional - linux-scripts\nrun_edge_agent.sh - YOUR_EDGE_KEY, YOUR_EDGE_ID\n```\n\n# Portainer Agent\nIn the walkthrough video, Mike Zupper is unable to browse volumes on the local Portainer server. Generally, when setting up Livepeer for production, you'll want to install Portainer on a server separate from any Livepeer nodes, that way you won't need to browse volumes on the Portainer server. That being said, the way around this limitation is to simply install a Portainer agent on the Portainer server. To do this, copy and paste this code at the bottom of the `docker-compose.yml` file we created on the Portainer server. \n\n**Note:** Since this agent will also be proxied by Traefik, you must create another DNS record and replace ```agent.example.com``` with it.\n\n```\n    agent:\n      image: portainer/agent\n      container_name: \"agent\"\n      restart: unless-stopped\n      depends_on:\n        - traefik\n      volumes:\n        - /var/run/docker.sock:/var/run/docker.sock\n        - /var/lib/docker/volumes:/var/lib/docker/volumes\n      labels:\n        - \"traefik.enable=true\"\n        - \"traefik.http.routers.portainer_agent.entrypoints=websecure\"\n        - \"traefik.http.routers.portainer_agent.rule=Host(`agent.example.com`)\"\n        - \"traefik.http.routers.portainer_agent.service=agent\"\n        - \"traefik.http.services.portainer_agent.loadbalancer.server.port=9001\"\n        - \"traefik.http.routers.portainer_agent.tls.certresolver=production\"\n  ```\n \nBring the docker-compose.yml stack up and log into Portainer like you normally would. \nYou'll see a new environment called ```agent```: \n\n![Agent_env](https://user-images.githubusercontent.com/95463891/184393360-9892316e-751e-4119-b8fa-f1c40b36e101.PNG)\n\nThis new environment is exactly the same as the ```local``` environment but gives us some more options to play with.\n\nClick into the environment. \n\nClick ```Host```.\n\nClick ```Setup```.\n\nTurn on ```Enable host management features``` and  ```Enable volume management for non-administrators```.\n\n![Click_Host](https://user-images.githubusercontent.com/95463891/184395091-bebe9880-adaf-4db4-a4ce-90bf60281c56.PNG)\n\n![Enable_Permissions](https://user-images.githubusercontent.com/95463891/184395093-cfa80827-cfcd-433d-932b-68f8c3830d4c.PNG)\n\nYou can now navigate to volumes inside the agent environment and browse.\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAuthorityNull%2FLivepeer-Docker-Portainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAuthorityNull%2FLivepeer-Docker-Portainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAuthorityNull%2FLivepeer-Docker-Portainer/lists"}