-
-
Notifications
You must be signed in to change notification settings - Fork 6
Feature Request: Docker Image with support for Docker Compose #8
Copy link
Copy link
Open
Description
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 -fReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels