This project utilizes s3 compatible storage for storing audio files submitted by the user and returned by the TextToSpeech service.
This project uses the official AWS S3 Client to interact with the storage service. Included in the Docker Compose file is a Minio container which can be used for local development.
Note: Currently this project is in development and is not ready for production use. S3 compatibility is not guaranteed.
Note: This project has not yet implemented private buckets. All audio files are publicly accessible.
-
Create a bucket named
timephone
in Minio. -
Allow read access to the bucket by attaching the following policy to the bucket.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": [ "*" ] }, "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::timephone", "arn:aws:s3:::timephone/*" ] } ] }
-
Create and Access Key for the bucket.