Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need better documentation of how to connect external transcoders to the load balancer #24

Open
Snipey opened this issue Dec 14, 2019 · 1 comment
Labels
question Further information is requested

Comments

@Snipey
Copy link

Snipey commented Dec 14, 2019

I have searched the web and have not found much about how to set this project up.

I have managed to get the loadbalancer running and the Plex server to the latest supported version 1.18.1944 every combination of ip adresses and cloudflare urls would not fix the s1001 Network Error

  loadbalancer:
    image: magn2o/unicorn-loadbalancer:latest
    depends_on:
      - plex
      - redis
    networks:
      - plex-network
    ports:
      - "3001:3001/tcp"
    environment:
      - PUID=0
      - PGID=0
      - SERVER_HOST=loadbalancer
      - SERVER_PORT=3001
      - SERVER_PUBLIC=https://plex.domain.com/
      - REDIS_HOST=redis
      - REDIS_PORT=6379
      - PLEX_HOST=plex
      - PLEX_PORT=32400
      - PLEX_PATH_SESSIONS=/config/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions
      - DATABASE_SQLITE_PATH=/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
      - LB_URL=http://loadbalancer:3001/
      - CUSTOM_IMAGE_PROXY=https://images.weserv.nl/
      - CUSTOM_SERVERS_LIST=['https://transcode-1.domain.com']
  transcoder-1:
    hostname: transcoder-1
    image: magn2o/unicorn-transcoder
    networks:
      - plex-network
    ports:
      - '3000:32400/tcp'
    environment:
      - 'SERVER_PORT=32400'
      - 'LOADBALANCER_IP=https://plex.domain.com'
      - 'INSTANCE_ADDRESS=https://transcode-1.domain.com'
      - 'PLEX_TOKEN=<TOKENHERE>'
@joshualouden
Copy link

While searching for better implementation on magn2o's docker creation, I found this issue that was risen. I noticed you posted this on the UnicornTranscoder repo, but your docker image is of magn2o. You might consider posting it on there instead. There seems to be something off with the docker-unicorn project that magn2o hosts, and the fork of this project in respects to how the UnicornTranscoder is deployed.

@Maxou44 Maxou44 added the question Further information is requested label Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants