# This file should be renamed '.env' and have any private values modified. COMPOSE_BAKE=true ### Container Specs ### ## For a small-scale server (such as 1 CPU, 1GB RAM). # CPU=0.25 # RAM=640M ## For a fully capable server. CPU=2.00 RAM=4.0G ### Languages ### ## Check for language model updates on each run. UPDATE_MODELS=true ## Use default behavior of downloading all models. # LANGUAGES=ALL ## Otherwise set to a comma-separated list to enable only the desired models. LANGUAGES='LT_LOAD_ONLY=en,es,fr,de' ### API Keys ### API_KEYS=true API_KEYS_DB_PATH=/app/db/api_keys.db API_KEYS_DIR=../../Volumes/LibreTranslate/api_keys ### Models ### ## Storing models prevents them from needing downloaded each run. ## Placing them under Volumes means they will increase backup sizes. MODELS_DIR=../../Volumes/LibreTranslate/models ## Not providing any location puts them in the default Docker /var/ location. # MODELS_DIR= ## Storing them in /tmp/ will cause them to get reset after reboots, but hides ## them from backup type locations such as Volumes/LibreTranslate/ and /var/. ## This will require a CRON entry for prepping the project dirs after a reboot. ## `@reboot /opt/Docker/Config/LibreTranslate/prep.sh` # MODELS_DIR=/tmp/LibreTranslate/models