Skip to content

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

@damianperera

Description

@damianperera

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions