mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 05:40:26 +02:00
feat: Update environment variables and Docker configuration for improved directory management
This commit is contained in:
+11
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user