Environment Variables
Variables.env file
In the users config directory there is a file called: variables.env
This file will be read before the software start. Add all the environment variables you need in that file.
Linux / MacOS
~/.das-element/variables.env
Windows
%homepath%/.das-element/variables.env
Any environment variables set globally on your operating system will be overwritten by the variables in the variables.env file.
To define a custom location for the user config directory by using the environment variable: DASELEMENT_USER_CONFIG_PATH
It is possible to use other environment variables in the values for the environment variables below:
Example:export CURRENT_PROJECT=awesome_project
export DASELEMENT_CONFIG_PATH=/mnt/server/{CURRENT_PROJECT}/config/das-element.conf
List of available environment variables
variable | description |
|---|---|
DASELEMENT_USER_CONFIG_PATH | define location of user specific config files like variables.env, setup.ini, logs, user collections,. etc. |
DASELEMENT_LICENSE | point to the license server |
DASELEMENT_LICENSE_TYPE | starts a local license server if variable is set to |
DASELEMENT_LOG_LEVEL | set the logging level (default: |
DASELEMENT_API_HOST | address to the API server (default: |
DASELEMENT_API_PORT | port to connect to the API server (default: |
DASELEMENT_CACHE_HOST | address to the cache server (default: |
DASELEMENT_CACHE_PORT | port to connect to the cache server (default: |
DASELEMENT_CONFIG_PATH | file path to the config file ( |
DASELEMENT_RESOURCES | directory path to the resources folder, for presets, hooks, etc. |
DASELEMENT_HOOKS | directory path to hook files |
DASELEMENT_HIERARCHY | directory path to hierarchy file. A file called |
DASELEMENT_COLLECTIONS | directory path to shared, global collections |
DASELEMENT_USER_COLLECTIONS | directory path to user specific collections |
DASELEMENT_INGEST_LOGS | custom directory path to store ingest logs |
DASELEMENT_THIRD_PARTY_DIR | directory path to third-party folder where the tools like ffmpeg and redis are located. These third party tools already come with the install of the software. |
DASELEMENT_MODEL | file path to wit file (machine learning model) Use comma
|
DASELEMENT_WORKER | set number of workers (not for lite version) |
DASELEMENT_DND_NOTATION
| set the file path notation for a sequence of files When elements are being drag&dropped outside of das element into another software, some applications, like Autodesk Flame, require a custom file path notation for dropped file sequences. $F (dollar f) notation:
Returns custom formatted data string from as defined by the user in the |
DASELEMENT_SETTINGS_RESTRICTED | only in standard version |
DASELEMENT_JOB_TIMEOUT | set timeout for transcoding/render jobs (in seconds) default: |
DASELEMENT_TEMP_KEEP_DAYS | Number of days that temp preview files are keep in the temp folder. |
RLM_CONNECT_TIMEOUT | license server connection timeout |
List of environment variables that are read-only (can’t be overwritten)
variable | description |
|---|---|
DASELEMENT_ROOT | resolves to the location of the installed software version |