Compare commits

...

7 Commits

Author SHA1 Message Date
Update Bot
39c574f685 Update to Redirecting 2023-06-02 21:00:27 +00:00
Bocki
220567ece1 Fix change on githubs release page 2022-12-22 23:04:02 +00:00
Update Bot
3827197960 Update to 2022.12.14-r222.5d447b6035 2022-12-14 21:01:22 +00:00
Bocki
e671ac563a Update Readme #139 2022-11-03 21:16:50 +00:00
Update Bot
33e1e9b253 Update to 2022.8.19-r216.06305de9cf 2022-08-20 21:01:03 +00:00
Update Bot
f79614f40c Update to 2022.8.10-r212.88ee7ad976 2022-08-10 21:00:55 +00:00
Bocki
8f0b9af270 feat: Add disabling of ownership change 2022-07-04 09:03:55 +02:00
4 changed files with 12 additions and 4 deletions

View File

@ -108,7 +108,7 @@ build-docker-image:
script:
# Download latest buildx bin from github
- mkdir -p ~/.docker/cli-plugins/
- BUILDX_LATEST_BIN_URI=$(curl -s -L https://github.com/docker/buildx/releases/latest | grep 'linux-amd64' | grep 'href' | sed 's/.*href="/https:\/\/github.com/g; s/amd64".*/amd64/g')
- BUILDX_LATEST_BIN_URI=$(curl -s -L https://api.github.com/repos/docker/buildx/releases/latest | jq -r '.assets[].browser_download_url | select( . | contains("linux-amd64"))')
- curl -s -L ${BUILDX_LATEST_BIN_URI} -o ~/.docker/cli-plugins/docker-buildx
- chmod a+x ~/.docker/cli-plugins/docker-buildx
# Get and run the latest docker/binfmt tag to use its qemu parts

View File

@ -52,9 +52,11 @@ Pull the latest container for the latest Deemix version
| `-e PUID=1000` | OPTIONAL: User ID of the user you want the container to run as in order to fix folder permission issues |
| `-e PGID=1000` | OPTIONAL: Group ID, see PUID |
| `-e UMASK_SET=022` | OPTIONAL: Setting UMASK for file permissions Default is 022 |
| `-e DEEMIX_LOCATION_BASE=/deemix/` | OPTIONAL: For subfolder reverse proxying, add the subdomain in this env variable |
| `-e DEEMIX_SINGLE_USER=true` | OPTIONAL: Similar to the ARL functionality in previous iterations. See below for details |
| `-p 6595:6595` | Port opened for the web interface |
| `-e INTPORT=3333` | EXTRA OPTIONAL: This changes the internal port of deemix. DON'T CHANGE THIS IF YOU DONT KNOW WHY YOU WOULD DO IT |
| `-e DISABLE_OWNERSHIP_CHECK=true` | EXTRA OPTIONAL: This disables the ownership check on the downloads folder. Can lead to download issues if the folder is not owned by the correct user. DON'T USE THIS IF YOU DONT KNOW WHY YOU WOULD NEED IT |
| `registry.gitlab.com/bockiii/deemix-docker` | This container |
To access the web interface, go to http://YOURSERVERIP:6595

View File

@ -1,12 +1,18 @@
#!/usr/bin/with-contenv bash
# test write access to download and config folder and test internet connectivity
printf '[cont-init.d] Fixing Folder Permissions\n'
printf '[cont-init.d] Fixing Folder Permissions - Config Folder\n'
chown -R abc:abc /config
# find all folders in the download folder and own them to the container user. This will not change files but should run quicker on big collections.
find /downloads -type d -exec chown abc:abc {} +
if [ ! -z ${DISABLE_OWNERSHIP_CHECK} ]; then
printf '[cont-init.d] Download Folder Ownership Check disabled by Environment Variable\n'
else
printf '[cont-init.d] Fixing Folder Permissions - Downloads Folder\n'
find /downloads -type d -exec chown abc:abc {} +
fi
# add executability to server
chmod +x /deemix-server

View File

@ -1 +1 @@
2022.5.28-r206.a752a63e0e
Redirecting