Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweaks to UID, GID, TZ and replace unwritable /path/ #358

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions Apps/Lazylibrarian/appfile.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,24 @@
},
"health_check": "",
"envs": [
{
"key": "PUID",
"value": "1000",
"description": "",
"configurable": "no"
},
{
"key": "PGID",
"value": "1000",
"description": "",
"configurable": "no"
},
{
"key": "TZ",
"value": "Europe/London",
"description": "",
"configurable": "no"
},
{
"key": "TZ",
"value": "$TZ",
"configurable": "no",
"description": "TimeZone"
},
{
"key": "PUID",
"value": "$PUID",
"configurable": "no",
"description": "Run LazyLibrarian as specified uid."
},
{
"key": "PGID",
"value": "$PGID",
"configurable": "no",
"description": "Run LazyLibrarian as specified gid."
},
{
"key": "DOCKER_MODS",
"value": "linuxserver/calibre-web:calibre|linuxserver/mods:lazylibrarian-ffmpeg",
Expand All @@ -80,24 +80,24 @@
"host": "/DATA/Downloads",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": ""
"configurable": "advanced",
"description": "LazyLibrarian downloads directory"
},
{
"container": "/books",
"host": "/path/to/data",
"host": "/DATA/Media/Books",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": ""
"configurable": "advanced",
"description": "LazyLibrarian Books directory"
},
{
"container": "/config",
"host": "/DATA/AppData/lazylibrarian/config",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": ""
"description": "LazyLibrarian Config directory"
}
],
"devices": [],
Expand Down
20 changes: 10 additions & 10 deletions Apps/Lazylibrarian/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ services:
lazylibrarian:
environment:
DOCKER_MODS: linuxserver/calibre-web:calibre|linuxserver/mods:lazylibrarian-ffmpeg
PGID: "1000"
PUID: "1000"
TZ: Europe/London
PGID: $PGID
PUID: $PUID
TZ: $TZ
image: linuxserver/lazylibrarian:version-0ca9b70c
deploy:
resources:
Expand All @@ -22,7 +22,7 @@ services:
source: /DATA/Downloads
target: /downloads
- type: bind
source: /path/to/data
source: /DATA/Media/Books
target: /books
- type: bind
source: /DATA/AppData/lazylibrarian/config
Expand All @@ -31,13 +31,13 @@ services:
envs:
- container: PUID
description:
en_us: ""
en_us: "Run LazyLibrarian as specified UID"
- container: PGID
description:
en_us: ""
en_us: "Run LazyLibrarian as specified GID"
- container: TZ
description:
en_us: ""
en_us: "TimeZone"
- container: DOCKER_MODS
description:
en_us: ""
Expand All @@ -49,13 +49,13 @@ services:
volumes:
- container: /downloads
description:
en_us: ""
en_us: "LazyLibrarian downloads directory"
- container: /books
description:
en_us: ""
en_us: "LazyLibrarian Books directory"
- container: /config
description:
en_us: ""
en_us: "LazyLibrarian config directory"
container_name: lazylibrarian
x-casaos:
architectures:
Expand Down
36 changes: 21 additions & 15 deletions Apps/Mylar3/appfile.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,24 @@
},
"health_check": "",
"envs": [
{
"key": "PUID",
"value": "1000",
"description": "",
"configurable": "no"
},
{
"key": "PGID",
"value": "1000",
"description": "",
"configurable": "no"
}
{
"key": "TZ",
"value": "$TZ",
"configurable": "no",
"description": "TimeZone"
},
{
"key": "PUID",
"value": "$PUID",
"configurable": "no",
"description": "Run Mylar3 as specified uid."
},
{
"key": "PGID",
"value": "$PGID",
"configurable": "no",
"description": "Run Mylar3 as specified gid."
}
],
"ports": [
{
Expand All @@ -74,18 +80,18 @@
},
{
"container": "/comics",
"host": "/path/to/comics",
"host": "/DATA/Media/Comics",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"configurable": "advanced",
"description": ""
},
{
"container": "/downloads",
"host": "/DATA/Downloads",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"configurable": "advanced",
"description": ""
}
],
Expand Down
20 changes: 12 additions & 8 deletions Apps/Mylar3/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: mylar3
services:
mylar3:
environment:
PGID: "1000"
PUID: "1000"
PGID: $PGID
PUID: $PUID
TZ: $TZ
image: linuxserver/mylar3:0.7.6
deploy:
resources:
Expand All @@ -20,7 +21,7 @@ services:
source: /DATA/AppData/mylar3/config
target: /config
- type: bind
source: /path/to/comics
source: /DATA/Media/Comics
target: /comics
- type: bind
source: /DATA/Downloads
Expand All @@ -29,10 +30,13 @@ services:
envs:
- container: PUID
description:
en_us: ""
en_us: "Run Mylar3 as specified uid."
- container: PGID
description:
en_us: ""
en_us: "Run Mylar3 as specified gid."
- container: TZ
description:
en_us: TimeZone
ports:
- container: "8090"
description:
Expand All @@ -41,13 +45,13 @@ services:
volumes:
- container: /config
description:
en_us: ""
en_us: "Mylar3 config directory"
- container: /comics
description:
en_us: ""
en_us: "Mylar3 Comics directory"
- container: /downloads
description:
en_us: ""
en_us: "Mylar3 downloads directory"
container_name: mylar3
x-casaos:
architectures:
Expand Down
50 changes: 25 additions & 25 deletions Apps/Readarr/appfile.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,24 @@
},
"health_check": "",
"envs": [
{
"key": "PUID",
"value": "1000",
"description": "",
"configurable": "no"
},
{
"key": "PGID",
"value": "1000",
"description": "",
"configurable": "no"
},
{
"key": "TZ",
"value": "Europe/London",
"description": "",
"configurable": "no"
}
{
"key": "TZ",
"value": "$TZ",
"configurable": "no",
"description": "TimeZone"
},
{
"key": "PUID",
"value": "$PUID",
"configurable": "no",
"description": "Run Readarr as specified uid."
},
{
"key": "PGID",
"value": "$PGID",
"configurable": "no",
"description": "Run Readarr as specified gid."
}
],
"ports": [
{
Expand All @@ -72,27 +72,27 @@
"volumes": [
{
"container": "/config",
"host": "/DATA/AppData/readarr/config",
"host": "/DATA/AppData/$AppID/config",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": ""
"description": "Readarr config directory"
},
{
"container": "/books",
"host": "/path/to/books",
"host": "/DATA/Media/Books",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": ""
"configurable": "advanced",
"description": "Readarr books directory"
},
{
"container": "/downloads",
"host": "/DATA/Downloads",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": ""
"configurable": "advanced",
"description": "Readarr downloads directory"
}
],
"devices": [],
Expand Down
20 changes: 10 additions & 10 deletions Apps/Readarr/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: readarr
services:
readarr:
environment:
PGID: "1000"
PUID: "1000"
TZ: Europe/London
PGID: $PGID
PUID: $PUID
TZ: $TZ
image: linuxserver/readarr:0.3.10-develop
deploy:
resources:
Expand All @@ -22,7 +22,7 @@ services:
target: /config

- type: bind
source: /DATA/AppData/$AppID/books
source: /DATA/Media/Books
target: /books
- type: bind
source: /DATA/Downloads
Expand All @@ -31,13 +31,13 @@ services:
envs:
- container: PUID
description:
en_us: ""
en_us: "Run Readarr as specified UID"
- container: PGID
description:
en_us: ""
en_us: "Run Readarr as specified GID"
- container: TZ
description:
en_us: ""
en_us: "Timezon"
ports:
- container: "8787"
description:
Expand All @@ -46,13 +46,13 @@ services:
volumes:
- container: /config
description:
en_us: ""
en_us: "Readarr config directory"
- container: /books
description:
en_us: ""
en_us: "Readarr books directory"
- container: /downloads
description:
en_us: ""
en_us: "Readarr downloads directory"
container_name: readarr
x-casaos:
architectures:
Expand Down