# Storage Configuration Audio is not kept in the API project. Uploads land in a temporary folder and are copied or streamed to the configured storage adapter before the temp file is removed. ## Local Development The sample env stores audio in the repository-level ignored `storage/audio` directory: ```env STORAGE_DRIVER=local STORAGE_BASE_PATH=../storage/audio ``` ## SMB/NFS Mounted Storage Mount your storage on the API machine and configure: ```env STORAGE_DRIVER=smb STORAGE_BASE_PATH=/mnt/orphion-audio ``` Use `STORAGE_DRIVER=nfs` for the same mounted-filesystem adapter. ## HTTP Storage Server The HTTP adapter uses `PUT`, `GET`, and `DELETE` against a file server: ```env STORAGE_DRIVER=http STORAGE_HTTP_BASE_URL=http://192.168.X.X:9000/audio STORAGE_HTTP_TOKEN=optional-bearer-token ``` ## S3-Compatible Storage ```env STORAGE_DRIVER=s3 S3_ENDPOINT=http://192.168.X.X:9000 S3_REGION=us-east-1 S3_BUCKET=orphion-audio S3_ACCESS_KEY_ID=... S3_SECRET_ACCESS_KEY=... S3_FORCE_PATH_STYLE=true ```