Skip to main content

Environment Variables

AURCache can be configured using the following environment variables:

Database Configuration

VariableTypeDescriptionDefault
DB_TYPE(POSTGRESQL| SQLITE)Type of Database (SQLite, PostgreSQL)SQLITE
DB_USERStringPOSTGRES Username (ignored if sqlite)null
DB_PWDStringPOSTGRES Password (ignored if sqlite)null
DB_HOSTStringPOSTGRES Host (ignored if sqlite)null
DB_NAMEStringDatabase name'db.sqlite' or 'postgres'

General Settings

VariableTypeDescriptionDefault
VERSION_CHECK_INTERVALIntegerInterval in seconds for checking package versions3600
BUILD_ARTIFACT_DIRStringpkg share directory between aurcache container and build containersnull
LOG_LEVELStringLog levelINFO
MAX_CONCURRENT_BUILDSIntegerMax concurrent builds1
CPU_LIMITIntegerCPU limit of build container in milli CPUs0
MEMORY_LIMITIntegerMemory limit of build container in MB-1
JOB_TIMEOUTIntegerJob timeout for build in Seconds3600
SECRET_KEYString>32Byte Random String for singing cookiesRandom