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

Feature Request: Docker Image with support for Docker Compose #8

Open
damianperera opened this issue Jun 21, 2023 · 0 comments
Open

Comments

@damianperera
Copy link

damianperera commented Jun 21, 2023

Hello,

I have Plex running in a container on my NAS along with a bunch of other containers as well - since the official image is maintained by LinuxServers it takes quite a bit of effort to install the script in a worker image and modify it with the downside being that I lose upstream updates to the Plex container via Watchtower.

Will it be possible to publish a Docker image in a public registry that runs the update script as a cronjob on a lightweight container?

Here's a sample Dockerfile:

FROM ubuntu:latest

ENV PLEX_ADDRESS=
ENV PLEX_TOKEN=

RUN apt-get update

RUN apt-get install -y wget cron

RUN wget https://github.com/cetteup/update-plex-ipv6-access-url/releases/download/v0.1.0/update-plex-ipv6-access-url-v0.1.0-linux-arm64.tar.gz -O command.tar.gz 

RUN tar -xvf command.tar.gz

CMD crontab -l | { cat; echo "*/10 * * * * bash /root/update-plex-ipv6-access-url -address http://${PLEX_ADDRESS} -interface eth0 -token ${PLEX_TOKEN} > /dev/stdout"; } | crontab - && crontab -l && cron -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant