-
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 #10 from tcheronneau/dev
New plex integration
- Loading branch information
Showing
17 changed files
with
1,132 additions
and
117 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
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,5 +1,6 @@ | ||
/target | ||
*local* | ||
*home* | ||
result | ||
.envrc | ||
.direnv/* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,29 @@ | ||
# https://taskfile.dev | ||
|
||
version: '3' | ||
|
||
vars: | ||
DOCKER_TAG: latest | ||
|
||
tasks: | ||
build: | ||
cmds: | ||
- cmd: docker build -t mcth/homers:{{.DOCKER_TAG}} . | ||
push: | ||
cmds: | ||
- cmd: docker push mcth/homers:{{.DOCKER_TAG}} | ||
build_alpha: | ||
cmds: | ||
- task: build | ||
vars: | ||
DOCKER_TAG: alpha | ||
- task: push | ||
vars: | ||
DOCKER_TAG: alpha | ||
build_multi_arch: | ||
cmds: | ||
- cmd: docker buildx build --platform linux/amd64,linux/arm64 -t mcth/homers:{{.DOCKER_TAG}} . | ||
default: | ||
cmds: | ||
- task: build | ||
- task: push |
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,17 @@ | ||
#!/bin/bash | ||
# | ||
|
||
if [[ -z "${UID}" ]]; then | ||
echo "UID is not set. Using default UID 1005." | ||
UID="1005" | ||
fi | ||
if [[ -z "${TZ}" ]]; then | ||
echo "TZ is not set. Using default timezone 'UTC'." | ||
TZ="UTC" | ||
fi | ||
cp "/usr/share/zoneinfo/${TZ}" /etc/localtime | ||
echo "${TZ}" > /etc/timezone | ||
groupadd -g 1005 homers | ||
useradd -u 1005 -g 1005 -s /bin/bash -m homers | ||
|
||
runuser --user homers -- "$@" |
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.