feat: add ENABLE_SHARING setting

This commit is contained in:
Felix Spöttel
2023-06-29 13:11:23 +02:00
parent 238a694f72
commit f01ea48f57
5 changed files with 29 additions and 20 deletions

View File

@@ -4,11 +4,18 @@ API_SECRET="change_me"
# see https://github.com/openai/whisper#available-models-and-languages
WHISPER_MODEL="small"
# If enabled, GET requests to routes `/job/:id` and `/job/:id/artifacts` will be unauthenticated.
ENABLE_SHARING="false"
# the domain you want to access the service from. Its A records need to point to the host IP.
TRAEFIK_DOMAIN="whisperbox-transcribe.localhost"
# an email which is used to verify domain ownership before a TLS certificate is issued.
TRAEFIK_SSLEMAIL=""
# you probably do not need to change this.
# ---
# below settings match the default docker-compose configuration.
BROKER_URL="redis://redis:6379/0"
DATABASE_URI="sqlite:////etc/whisperbox-transcribe/data/whisperbox-transcribe.sqlite"
ENVIRONMENT="production"