feat: Update environment variables and Docker configuration for improved directory management

This commit is contained in:
JB
2025-10-06 15:26:17 -07:00
parent 153d5ba92c
commit dc7a115e2e
4 changed files with 65 additions and 16 deletions
+11 -4
View File
@@ -1,14 +1,21 @@
# Copy this file to `.env` and customize the paths to match your environment.
# Relative paths are resolved from the repository root when running locally.
# Each `*_DIR` value below points to a directory on the host. Docker Compose
# mounts it into the container at the standard path noted in the comment.
# Host directory that stores JSON settings. Mounted to /config in Docker.
ABOGEN_SETTINGS_DIR=./config
# Host directory for rendered audio/subtitle files. Mounted to /data/outputs
# in Docker.
ABOGEN_OUTPUT_DIR=./storage/output
# Temporary working directory. When running in Docker, keep this inside the
# mounted /data volume so non-root users can write to it. For local (non-Docker)
# usage, change this to a path that makes sense on your machine or comment it out
# to fall back to the OS cache directory.
ABOGEN_TEMP_DIR=/data/cache
# mounted data volume (or another writable host path) so non-root users can
# write to it. For local (non-Docker) usage, change this to a path that makes
# sense on your machine or comment it out to fall back to the OS cache
# directory. Mounted to /data/cache in Docker.
ABOGEN_TEMP_DIR=./storage/tmp
# UID/GID used when running the Docker container. 1000:1000 matches most Linux hosts.
# Find your current values with: