mirror of
https://github.com/linuxserver/docker-beets
synced 2025-12-06 08:23:31 +01:00
Merge pull request #133 from linuxserver/master-3.21
This commit is contained in:
commit
d636c16253
19 changed files with 32 additions and 10 deletions
0
.editorconfig
Executable file → Normal file
0
.editorconfig
Executable file → Normal file
0
.github/CONTRIBUTING.md
vendored
Executable file → Normal file
0
.github/CONTRIBUTING.md
vendored
Executable file → Normal file
0
.github/FUNDING.yml
vendored
Executable file → Normal file
0
.github/FUNDING.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/config.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/config.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file → Normal file
0
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issue_pr_tracker.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issues_cron.yml
vendored
Executable file → Normal file
0
.github/workflows/call_issues_cron.yml
vendored
Executable file → Normal file
0
.github/workflows/external_trigger.yml
vendored
Executable file → Normal file
0
.github/workflows/external_trigger.yml
vendored
Executable file → Normal file
0
.github/workflows/external_trigger_scheduler.yml
vendored
Executable file → Normal file
0
.github/workflows/external_trigger_scheduler.yml
vendored
Executable file → Normal file
0
.github/workflows/greetings.yml
vendored
Executable file → Normal file
0
.github/workflows/greetings.yml
vendored
Executable file → Normal file
0
.github/workflows/package_trigger_scheduler.yml
vendored
Executable file → Normal file
0
.github/workflows/package_trigger_scheduler.yml
vendored
Executable file → Normal file
|
|
@ -1,6 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.21
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|
@ -75,7 +75,7 @@ RUN \
|
||||||
pip install -U --no-cache-dir \
|
pip install -U --no-cache-dir \
|
||||||
pip \
|
pip \
|
||||||
wheel && \
|
wheel && \
|
||||||
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
|
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
|
||||||
beautifulsoup4 \
|
beautifulsoup4 \
|
||||||
beets==${BEETS_VERSION} \
|
beets==${BEETS_VERSION} \
|
||||||
beets-extrafiles \
|
beets-extrafiles \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
|
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|
@ -76,7 +76,7 @@ RUN \
|
||||||
pip install -U --no-cache-dir \
|
pip install -U --no-cache-dir \
|
||||||
pip \
|
pip \
|
||||||
wheel && \
|
wheel && \
|
||||||
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
|
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
|
||||||
beautifulsoup4 \
|
beautifulsoup4 \
|
||||||
beets==${BEETS_VERSION} \
|
beets==${BEETS_VERSION} \
|
||||||
beets-extrafiles \
|
beets-extrafiles \
|
||||||
|
|
|
||||||
0
LICENSE
Executable file → Normal file
0
LICENSE
Executable file → Normal file
11
README.md
11
README.md
|
|
@ -78,6 +78,14 @@ See [Beets](http://beets.io/) for more info.
|
||||||
|
|
||||||
Contains [beets-extrafiles](https://github.com/Holzhaus/beets-extrafiles) plugin, [configuration details](https://github.com/Holzhaus/beets-extrafiles#usage)
|
Contains [beets-extrafiles](https://github.com/Holzhaus/beets-extrafiles) plugin, [configuration details](https://github.com/Holzhaus/beets-extrafiles#usage)
|
||||||
|
|
||||||
|
## Read-Only Operation
|
||||||
|
|
||||||
|
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
|
||||||
|
|
||||||
|
## Non-Root Operation
|
||||||
|
|
||||||
|
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||||
|
|
@ -135,6 +143,8 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||||
| `-v /config` | Persistent config files |
|
| `-v /config` | Persistent config files |
|
||||||
| `-v /music` | Music library |
|
| `-v /music` | Music library |
|
||||||
| `-v /downloads` | Non processed music |
|
| `-v /downloads` | Non processed music |
|
||||||
|
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
|
||||||
|
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
|
||||||
|
|
||||||
## Environment variables from files (Docker secrets)
|
## Environment variables from files (Docker secrets)
|
||||||
|
|
||||||
|
|
@ -298,6 +308,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **27.01.25:** - Rebase to Alpine 3.21.
|
||||||
* **01.10.24:** - Add packages required for Discogs plugin.
|
* **01.10.24:** - Add packages required for Discogs plugin.
|
||||||
* **28.08.24:** - Rebase to Alpine 3.20, switch from Pillow to Imagemagick.
|
* **28.08.24:** - Rebase to Alpine 3.20, switch from Pillow to Imagemagick.
|
||||||
* **23.12.23:** - Rebase to Alpine 3.19.
|
* **23.12.23:** - Rebase to Alpine 3.19.
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ param_volumes:
|
||||||
param_usage_include_ports: true
|
param_usage_include_ports: true
|
||||||
param_ports:
|
param_ports:
|
||||||
- {external_port: "8337", internal_port: "8337", port_desc: "Application WebUI"}
|
- {external_port: "8337", internal_port: "8337", port_desc: "Application WebUI"}
|
||||||
|
readonly_supported: true
|
||||||
|
nonroot_supported: true
|
||||||
# application setup block
|
# application setup block
|
||||||
app_setup_block_enabled: true
|
app_setup_block_enabled: true
|
||||||
app_setup_block: |
|
app_setup_block: |
|
||||||
|
|
@ -83,6 +85,7 @@ init_diagram: |
|
||||||
"beets:latest" <- Base Images
|
"beets:latest" <- Base Images
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- {date: "27.01.25:", desc: "Rebase to Alpine 3.21."}
|
||||||
- {date: "01.10.24:", desc: "Add packages required for Discogs plugin."}
|
- {date: "01.10.24:", desc: "Add packages required for Discogs plugin."}
|
||||||
- {date: "28.08.24:", desc: "Rebase to Alpine 3.20, switch from Pillow to Imagemagick."}
|
- {date: "28.08.24:", desc: "Rebase to Alpine 3.20, switch from Pillow to Imagemagick."}
|
||||||
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
|
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@ cp -n /defaults/config.yaml /config/config.yaml
|
||||||
|
|
||||||
chmod +x /config/beets.sh
|
chmod +x /config/beets.sh
|
||||||
|
|
||||||
# permissions
|
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||||
lsiown -R abc:abc \
|
# permissions
|
||||||
/config
|
lsiown -R abc:abc \
|
||||||
|
/config
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
exec \
|
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
|
exec \
|
||||||
s6-setuidgid abc beet web
|
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
|
||||||
|
s6-setuidgid abc beet web
|
||||||
|
else
|
||||||
|
exec \
|
||||||
|
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
|
||||||
|
beet web
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue