Skip to content

Environment Variables

Isaias edited this page Aug 27, 2026 · 6 revisions

General configuration

Variable Function Default Exemple
TZ Set Timezone
PUID Set UID 1000
PGID Set GID 1000

RPM Packager configuration

Variable Function Default Exemple
INTERVAL Set the interval to check for updates and generate the next RPM. 1d 1d - 1 day
10m - 10 minutes
1w - 1 week
65s - 65 seconds
false - exit container after build
GPG_NAME Your GPG key Name Look at the GPG Sign section
GPG_EMAIL Your GPG key E-mail Look at the GPG Sign section
BUILD Set for which distros the RPM will be generated. Separated by , el10 Look at the set BUILD section
KEEP_VERSIONS Number of RPM versions saved 2 0 - keep all
1 - keep last .RPM
6 - keep last 6 .RPM
STABLE_BUILDS RPM Spotify Stable builds true
TESTING_BUILDS RPM Spotify Testing builds false
SRPMS_BUILDS SRPMS builds false
BUILTIN_FFMPEG Built-in FFMPEG Libraries true
LOG_LEVEL Log Level info info
file
all
ENTERPRISE_LINUX_BACKEND Backend RPM build to EL builds alma Look at the set ENTERPRISE_LINUX_BACKEND section
SOURCE Package Source deb deb
snap

Web Repository configuration

Variable Function Default Exemple
DISABLE_WEB_SERVER Disable web server repository false
REPO_PORT Repository Web Server Port 80
REPO_SERVER_NAME Restrict web server hostname spotify.exemple.com
REPO_AUTHENTICATION_USER Authentication Repository User
REPO_AUTHENTICATION_PASSWORD Authentication Repository Password
REPO_AUTHENTICATION_GPG_FILE Authentication is required to access the GPG file false
REPO_FILE_URL This configuration generates the spotify-unofficial.repo file with the defined URL https://spotify.exemple.com
REPO_FILE_ENABLE_STABLE Enables the stable build by default in the spotify-unofficial.repo file true
REPO_FILE_ENABLE_TESTING Enables the testing build by default in the spotify-unofficial.repo file false
REPO_FILE_ENABLE_SOURCE_STABLE Enables the stable source build by default in the spotify-unofficial.repo file false
REPO_FILE_ENABLE_SOURCE_TESTING Enables the testing source build by default in the spotify-unofficial.repo file false

Detailing some variables

Set BUILD

Value Function
fc<version> Generate RPM for fedora, exemple fc43 to Fedora 43
fcrawhide Generate RPM for fedora rawhide
el<version> Generate RPM for RHEL like, exemple el10 to RHEL 10 like

Set ENTERPRISE_LINUX_BACKEND

Value Function
alma Alma Linux
almalinux-kitten Alma Linux Kitten
rocky Rocky Linux
centos-stream CentOS Stream

GPG Sign

To sign RPMs, it is necessary to set GPG_NAME and GPG_EMAIL environment variables.

The key will be imported from /gpg-key/private.pgp and /gpg-key/public.pgp.

If they do not exist, a new key will be created and exported to the /gpg-key/private.pgp and /gpg-key/public.pgp.

Clone this wiki locally