-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from iloveicedgreentea/develop
Actual Jellyfin support and misc fixes
- Loading branch information
Showing
21 changed files
with
853 additions
and
493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
uses: docker/[email protected] | ||
|
||
- name: Log into registry ${{ env.REGISTRY }} | ||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }} | ||
# if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') || github.event_name == 'pull_request'}} | ||
uses: docker/[email protected] | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
|
@@ -43,5 +43,5 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
context: . | ||
push: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }} | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.21 as build | ||
FROM golang:1.22 as build | ||
|
||
WORKDIR /go/src/app | ||
COPY . . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM golang:1.22 as build | ||
|
||
WORKDIR /go/src/app | ||
COPY . . | ||
RUN go mod download | ||
WORKDIR /go/src/app/cmd | ||
|
||
RUN CGO_ENABLED=0 go build -o /go/bin/app | ||
|
||
FROM alpine:20231219 | ||
|
||
RUN apk add supervisor | ||
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf | ||
COPY docker/watch.py /watch.py | ||
|
||
COPY --from=build /go/bin/app / | ||
COPY --from=build /go/src/app/web /web | ||
EXPOSE 9999 | ||
|
||
# CMD ["/app"] | ||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '3.8' | ||
|
||
services: | ||
plex-webhook-automation: | ||
platform: linux/amd64 | ||
image: gowatchit-local:latest | ||
ports: | ||
- '9999:9999' | ||
environment: | ||
SUPER_DEBUG: 'false' | ||
LOG_LEVEL: 'debug' | ||
volumes: | ||
- ./docker/data:/data | ||
- ./web:/web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.