use optional flag

This commit is contained in:
thelamer 2019-08-13 08:51:49 -07:00 committed by Ryan Kuba
parent d188431672
commit dbfda29999
2 changed files with 7 additions and 1 deletions

View File

@ -61,6 +61,7 @@ docker create \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-e UMASK_SET=<022> `#optional` \
-p 8096:8096 \
-p 8920:8920 `#optional` \
-v </path/to/library>:/config \
@ -88,6 +89,7 @@ services:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- UMASK_SET=<022> #optional
volumes:
- </path/to/library>:/config
- <path/to/tvseries>:/data/tvshows
@ -112,6 +114,7 @@ Container images are configured using parameters passed at runtime (such as thos
| `-e PUID=1000` | for UserID - see below for explanation |
| `-e PGID=1000` | for GroupID - see below for explanation |
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London |
| `-e UMASK_SET=<022>` | for umask setting of Emby, default if left unset is 022. |
| `-v /config` | Emby data storage location. *This can grow very large, 50gb+ is likely for a large collection.* |
| `-v /data/tvshows` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. |
| `-v /data/movies` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. |
@ -217,4 +220,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **13.08.19:** - Add umask environment variable.
* **30.05.19:** - Initial release.

View File

@ -33,8 +33,10 @@ param_ports:
param_usage_include_env: true
param_env_vars:
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
- { env_var: "UMASK_SET", env_value: "<022>", desc: "for umask setting of emby, *optional* , default if left unset is 022."}
# optional container parameters
opt_param_usage_include_env: true
opt_param_env_vars:
- { env_var: "UMASK_SET", env_value: "<022>", desc: "for umask setting of Emby, default if left unset is 022."}
opt_param_usage_include_vols: true
opt_param_volumes:
- { vol_path: "/transcode", vol_host_path: "</path for transcoding>", desc: "Path for transcoding folder, *optional*." }