Configure a custom app DB
DataRamen gives you full control over where application data is stored. By default, a local SQLite database is created on the host machine.
Below are example configurations for each supported database:
SQLite
APP_DB_TYPE=sqliteAPP_DB_DATABASE= # optional, path to the SQLite file; use <home> as a placeholder for the home directoryAPP_DB_LOGGING=FALSE # optional, set to TRUE to enable internal SQL loggingMySQL
APP_DB_TYPE=mysqlAPP_DB_HOST= # DB host URLAPP_DB_PORT=3306 # DB host portAPP_DB_DATABASE= # DB nameAPP_DB_USERNAME= # access usernameAPP_DB_PASSWORD= # access passwordAPP_DB_LOGGING=FALSE # optional, set to TRUE to enable internal SQL loggingPostgres
APP_DB_TYPE=postgresAPP_DB_HOST= # DB host URLAPP_DB_PORT=5432 # DB host portAPP_DB_DATABASE= # DB nameAPP_DB_USERNAME= # access usernameAPP_DB_PASSWORD= # access passwordAPP_DB_SCHEMA= # schemaAPP_DB_LOGGING=FALSE # optional, set to TRUE to enable internal SQL loggingRefer to the Environment Variables guide for instructions on updating these values.