Added UMASK_SET environment variable

This commit is contained in:
Henning Bocklage 2020-06-12 23:57:48 +02:00
parent a92efee3a8
commit d978a915a0
4 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# Changelog
## 2020-06-12
- Added UMASK_SET environment variable (I misunderstood how it worked.. now it should work)
## 2020-06-11
- First entry in the changelog. This is for the container only, not for deemix or any of it's components.
- Switched port to 6595 from 9666 (due to pyweb update). THIS SHOULD BE FIX NOW. I have hard-coded the port into the run parameter, so even if deemix itself will switch the port, you should always just have to map to 6595

View File

@ -25,6 +25,7 @@ $ docker run -d --name Deemix \
-e PUID=1000 \
-e PGID=1000 \
-e ARL=1234567 \
-e UMASK_SET=022 \
-p 6595:6595 \
registry.gitlab.com/bockiii/deemix-docker
```
@ -43,6 +44,7 @@ services:
- PUID=1000
- PGID=1000
- ARL=1234567
- UMASK_SET=022
ports:
- 6595:6595
```
@ -63,6 +65,8 @@ The container will look for a new update in the Deemix repo on every start and w
`-e ARL=1234567` - OPTIONAL: If you want Deemix to automatically log in for everyone who opens the website, provide your ARL token via this Environment variable.
`-e UMASK_SET=022 - OPTIONAL: Setting UMASK for file permissions Default is 022
`-p 6595:6595` - Port opened for the web interface.
`registry.gitlab.com/bockiii/deemix-docker` - This container.

View File

@ -10,5 +10,6 @@ services:
- PUID=1000
- PGID=1000
- ARL=1234567
- UMASK_SET=022
ports:
- 6595:6595

View File

@ -1,5 +1,8 @@
#!/usr/bin/with-contenv bash
UMASK_SET=${UMASK_SET:-022}
umask "$UMASK_SET"
cd /deemix
HOME=/deem