diff --git a/Dockerfile b/Dockerfile index a7555cc..c2f3301 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN CGO_ENABLED=0 go build -o /go/bin/app FROM alpine:20240329 -RUN apk add supervisor +RUN apk add --no-cache tzdata supervisor COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY docker/watch.py /watch.py @@ -18,5 +18,8 @@ COPY --from=build /go/bin/app / COPY ./web /web EXPOSE 9999 +ENV TZ=America/New_York +ENV GIN_MODE=release + # CMD ["/app"] CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] diff --git a/readme.md b/readme.md index c60673a..bc21b7e 100644 --- a/readme.md +++ b/readme.md @@ -77,6 +77,7 @@ You can configure this to only load BEQ profiles, or do everything else besides 2) You must mount a volume to `/data` 3) Configure the application via web ui -> `http://(your-server-ip):9999` 4) Set up your player with the instructions below +5) You can change logging timezone by setting the `TZ` env var to your desired timezone ### Plex Specifics 1) get your player UUID(s) from `https://plex.tv/devices.xml` while logged in