Tweaks to UID, GID, TZ and replace unwritable /path/ (#358)
Update appfile and docker compose for LazyLibrarian, Mylar3 and Readarr to use consistent conventions for UID, GID and TZ, as well as replacing the unwritable /path/ location, and make the config of these paths available in the GUI
This commit is contained in:
parent
13a367f1c2
commit
8a6120e699
|
@ -39,24 +39,24 @@
|
||||||
},
|
},
|
||||||
"health_check": "",
|
"health_check": "",
|
||||||
"envs": [
|
"envs": [
|
||||||
{
|
{
|
||||||
"key": "PUID",
|
"key": "TZ",
|
||||||
"value": "1000",
|
"value": "$TZ",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "TimeZone"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "PGID",
|
"key": "PUID",
|
||||||
"value": "1000",
|
"value": "$PUID",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "Run LazyLibrarian as specified uid."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "TZ",
|
"key": "PGID",
|
||||||
"value": "Europe/London",
|
"value": "$PGID",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "Run LazyLibrarian as specified gid."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "DOCKER_MODS",
|
"key": "DOCKER_MODS",
|
||||||
"value": "linuxserver/calibre-web:calibre|linuxserver/mods:lazylibrarian-ffmpeg",
|
"value": "linuxserver/calibre-web:calibre|linuxserver/mods:lazylibrarian-ffmpeg",
|
||||||
|
@ -80,16 +80,16 @@
|
||||||
"host": "/DATA/Downloads",
|
"host": "/DATA/Downloads",
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "advanced",
|
||||||
"description": ""
|
"description": "LazyLibrarian downloads directory"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"container": "/books",
|
"container": "/books",
|
||||||
"host": "/path/to/data",
|
"host": "/DATA/Media/Books",
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "advanced",
|
||||||
"description": ""
|
"description": "LazyLibrarian Books directory"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"container": "/config",
|
"container": "/config",
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "no",
|
||||||
"description": ""
|
"description": "LazyLibrarian Config directory"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"devices": [],
|
"devices": [],
|
||||||
|
|
|
@ -3,9 +3,9 @@ services:
|
||||||
lazylibrarian:
|
lazylibrarian:
|
||||||
environment:
|
environment:
|
||||||
DOCKER_MODS: linuxserver/calibre-web:calibre|linuxserver/mods:lazylibrarian-ffmpeg
|
DOCKER_MODS: linuxserver/calibre-web:calibre|linuxserver/mods:lazylibrarian-ffmpeg
|
||||||
PGID: "1000"
|
PGID: $PGID
|
||||||
PUID: "1000"
|
PUID: $PUID
|
||||||
TZ: Europe/London
|
TZ: $TZ
|
||||||
image: linuxserver/lazylibrarian:version-0ca9b70c
|
image: linuxserver/lazylibrarian:version-0ca9b70c
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
@ -22,7 +22,7 @@ services:
|
||||||
source: /DATA/Downloads
|
source: /DATA/Downloads
|
||||||
target: /downloads
|
target: /downloads
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /path/to/data
|
source: /DATA/Media/Books
|
||||||
target: /books
|
target: /books
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /DATA/AppData/lazylibrarian/config
|
source: /DATA/AppData/lazylibrarian/config
|
||||||
|
@ -31,13 +31,13 @@ services:
|
||||||
envs:
|
envs:
|
||||||
- container: PUID
|
- container: PUID
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Run LazyLibrarian as specified UID"
|
||||||
- container: PGID
|
- container: PGID
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Run LazyLibrarian as specified GID"
|
||||||
- container: TZ
|
- container: TZ
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "TimeZone"
|
||||||
- container: DOCKER_MODS
|
- container: DOCKER_MODS
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: ""
|
||||||
|
@ -49,13 +49,13 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- container: /downloads
|
- container: /downloads
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "LazyLibrarian downloads directory"
|
||||||
- container: /books
|
- container: /books
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "LazyLibrarian Books directory"
|
||||||
- container: /config
|
- container: /config
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "LazyLibrarian config directory"
|
||||||
container_name: lazylibrarian
|
container_name: lazylibrarian
|
||||||
x-casaos:
|
x-casaos:
|
||||||
architectures:
|
architectures:
|
||||||
|
|
|
@ -40,18 +40,24 @@
|
||||||
},
|
},
|
||||||
"health_check": "",
|
"health_check": "",
|
||||||
"envs": [
|
"envs": [
|
||||||
{
|
{
|
||||||
"key": "PUID",
|
"key": "TZ",
|
||||||
"value": "1000",
|
"value": "$TZ",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "TimeZone"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "PGID",
|
"key": "PUID",
|
||||||
"value": "1000",
|
"value": "$PUID",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "Run Mylar3 as specified uid."
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"key": "PGID",
|
||||||
|
"value": "$PGID",
|
||||||
|
"configurable": "no",
|
||||||
|
"description": "Run Mylar3 as specified gid."
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"ports": [
|
"ports": [
|
||||||
{
|
{
|
||||||
|
@ -74,10 +80,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"container": "/comics",
|
"container": "/comics",
|
||||||
"host": "/path/to/comics",
|
"host": "/DATA/Media/Comics",
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "advanced",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -85,7 +91,7 @@
|
||||||
"host": "/DATA/Downloads",
|
"host": "/DATA/Downloads",
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "advanced",
|
||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -2,8 +2,9 @@ name: mylar3
|
||||||
services:
|
services:
|
||||||
mylar3:
|
mylar3:
|
||||||
environment:
|
environment:
|
||||||
PGID: "1000"
|
PGID: $PGID
|
||||||
PUID: "1000"
|
PUID: $PUID
|
||||||
|
TZ: $TZ
|
||||||
image: linuxserver/mylar3:0.7.6
|
image: linuxserver/mylar3:0.7.6
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
@ -20,7 +21,7 @@ services:
|
||||||
source: /DATA/AppData/mylar3/config
|
source: /DATA/AppData/mylar3/config
|
||||||
target: /config
|
target: /config
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /path/to/comics
|
source: /DATA/Media/Comics
|
||||||
target: /comics
|
target: /comics
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /DATA/Downloads
|
source: /DATA/Downloads
|
||||||
|
@ -29,10 +30,13 @@ services:
|
||||||
envs:
|
envs:
|
||||||
- container: PUID
|
- container: PUID
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Run Mylar3 as specified uid."
|
||||||
- container: PGID
|
- container: PGID
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Run Mylar3 as specified gid."
|
||||||
|
- container: TZ
|
||||||
|
description:
|
||||||
|
en_us: TimeZone
|
||||||
ports:
|
ports:
|
||||||
- container: "8090"
|
- container: "8090"
|
||||||
description:
|
description:
|
||||||
|
@ -41,13 +45,13 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- container: /config
|
- container: /config
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Mylar3 config directory"
|
||||||
- container: /comics
|
- container: /comics
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Mylar3 Comics directory"
|
||||||
- container: /downloads
|
- container: /downloads
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Mylar3 downloads directory"
|
||||||
container_name: mylar3
|
container_name: mylar3
|
||||||
x-casaos:
|
x-casaos:
|
||||||
architectures:
|
architectures:
|
||||||
|
|
|
@ -40,24 +40,24 @@
|
||||||
},
|
},
|
||||||
"health_check": "",
|
"health_check": "",
|
||||||
"envs": [
|
"envs": [
|
||||||
{
|
{
|
||||||
"key": "PUID",
|
"key": "TZ",
|
||||||
"value": "1000",
|
"value": "$TZ",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "TimeZone"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "PGID",
|
"key": "PUID",
|
||||||
"value": "1000",
|
"value": "$PUID",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "Run Readarr as specified uid."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "TZ",
|
"key": "PGID",
|
||||||
"value": "Europe/London",
|
"value": "$PGID",
|
||||||
"description": "",
|
"configurable": "no",
|
||||||
"configurable": "no"
|
"description": "Run Readarr as specified gid."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ports": [
|
"ports": [
|
||||||
{
|
{
|
||||||
|
@ -72,27 +72,27 @@
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
"container": "/config",
|
"container": "/config",
|
||||||
"host": "/DATA/AppData/readarr/config",
|
"host": "/DATA/AppData/$AppID/config",
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "no",
|
||||||
"description": ""
|
"description": "Readarr config directory"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"container": "/books",
|
"container": "/books",
|
||||||
"host": "/path/to/books",
|
"host": "/DATA/Media/Books",
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "advanced",
|
||||||
"description": ""
|
"description": "Readarr books directory"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"container": "/downloads",
|
"container": "/downloads",
|
||||||
"host": "/DATA/Downloads",
|
"host": "/DATA/Downloads",
|
||||||
"mode": "rw",
|
"mode": "rw",
|
||||||
"allocation": "automatic",
|
"allocation": "automatic",
|
||||||
"configurable": "no",
|
"configurable": "advanced",
|
||||||
"description": ""
|
"description": "Readarr downloads directory"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"devices": [],
|
"devices": [],
|
||||||
|
|
|
@ -2,9 +2,9 @@ name: readarr
|
||||||
services:
|
services:
|
||||||
readarr:
|
readarr:
|
||||||
environment:
|
environment:
|
||||||
PGID: "1000"
|
PGID: $PGID
|
||||||
PUID: "1000"
|
PUID: $PUID
|
||||||
TZ: Europe/London
|
TZ: $TZ
|
||||||
image: linuxserver/readarr:0.3.10-develop
|
image: linuxserver/readarr:0.3.10-develop
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
|
@ -22,7 +22,7 @@ services:
|
||||||
target: /config
|
target: /config
|
||||||
|
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /DATA/AppData/$AppID/books
|
source: /DATA/Media/Books
|
||||||
target: /books
|
target: /books
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /DATA/Downloads
|
source: /DATA/Downloads
|
||||||
|
@ -31,13 +31,13 @@ services:
|
||||||
envs:
|
envs:
|
||||||
- container: PUID
|
- container: PUID
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Run Readarr as specified UID"
|
||||||
- container: PGID
|
- container: PGID
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Run Readarr as specified GID"
|
||||||
- container: TZ
|
- container: TZ
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Timezon"
|
||||||
ports:
|
ports:
|
||||||
- container: "8787"
|
- container: "8787"
|
||||||
description:
|
description:
|
||||||
|
@ -46,13 +46,13 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- container: /config
|
- container: /config
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Readarr config directory"
|
||||||
- container: /books
|
- container: /books
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Readarr books directory"
|
||||||
- container: /downloads
|
- container: /downloads
|
||||||
description:
|
description:
|
||||||
en_us: ""
|
en_us: "Readarr downloads directory"
|
||||||
container_name: readarr
|
container_name: readarr
|
||||||
x-casaos:
|
x-casaos:
|
||||||
architectures:
|
architectures:
|
||||||
|
|
Loading…
Reference in New Issue