Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
example fix
Murtaza Nasirdf1b49903223
diff --git a/docker-compose.example.yml b/docker-compose.example.ymlindex 9633c224..53848f15 100644--- a/docker-compose.example.yml+++ b/docker-compose.example.yml@@ -1,5 +1,3 @@-version: '3.8'-services:app:image: learnedmachine/speakr:latest@@ -7,28 +5,58 @@ services:restart: unless-stoppedports:- "8899:8899"+ # VOLUME CONFIGURATION OPTIONS:+ # Uncomment ONE of the following volume configurations:++ # Option 1: Using specific host paths for both volumesvolumes:- - /path/to/uploads:/data/uploads- - /path/to/instance:/data/instance+ - /path/to/uploads:/data/uploads # Replace with your custom path+ - /path/to/instance:/data/instance # Replace with your custom path++ # Option 2: Using Docker-managed volumes for both+ # volumes:+ # - speakr-uploads:/data/uploads # Docker will manage this volume+ # - speakr-instance:/data/instance # Docker will manage this volume++ # Option 3: Mixed approach - custom path for uploads, Docker-managed for instance+ # volumes:+ # - /path/to/uploads:/data/uploads # Replace with your custom path+ # - speakr-instance:/data/instance # Docker will manage this volume+environment:# Database and upload folder configuration- SQLALCHEMY_DATABASE_URI=sqlite:////data/instance/transcriptions.db- UPLOAD_FOLDER=/data/uploads-+# Text model configuration- TEXT_MODEL_BASE_URL=https://openrouter.ai/api/v1- TEXT_MODEL_API_KEY=your_text_model_api_key_here- TEXT_MODEL_NAME=openai/gpt-4o-mini-+# Whisper model configuration- TRANSCRIPTION_BASE_URL=http://your_local_api_url:port/v1/- TRANSCRIPTION_API_KEY=your_transcription_api_key_here- WHISPER_MODEL=Systran/faster-distil-whisper-large-v3-+# Application settings- ALLOW_REGISTRATION=false-+# Admin user creation- ADMIN_USERNAME=admin- ADMIN_PASSWORD=securepassword++# IMPORTANT: Uncomment this section if you're using any Docker-managed volumes+# (required for Options 2 and 3 above)+# volumes:+# speakr-uploads:+# # This defines the Docker-managed volume+# speakr-instance:+# # This defines the Docker-managed volume+#+# For custom volume names, use:+# volumes:+# speakr-uploads:+# name: custom-speakr-uploads-name+# speakr-instance:+# name: custom-speakr-instance-name\ No newline at end of file