From 43e9eb2648e4a3fea973e315b1a5401f4ced8153 Mon Sep 17 00:00:00 2001 From: Keith Schacht Date: Thu, 13 Jun 2024 14:30:45 -0500 Subject: [PATCH] Hotfix: Include all config ENV in docker compose --- config/options.yml | 4 ++-- docker-compose.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/options.yml b/config/options.yml index b08c8b017..4446f0d06 100644 --- a/config/options.yml +++ b/config/options.yml @@ -1,13 +1,13 @@ shared: features: - default_to_voice: <%= ENV.fetch("DEFAULT_TO_VOICE_FEATURE", false) %> - voice: <%= ENV.fetch("VOICE_FEATURE", false) %> default_llm_keys: <%= ENV.fetch("DEFAULT_LLM_KEYS_FEATURE", false) %> google_tools: <%= ENV.fetch("GOOGLE_TOOLS", false) %> registration: <%= ENV.fetch("REGISTRATION_FEATURE", true) %> password_authentication: <%= ENV.fetch("PASSWORD_AUTHENTICATION_FEATURE", true) %> google_authentication: <%= ENV.fetch("GOOGLE_AUTHENTICATION_FEATURE", false) %> http_header_authentication: <%= ENV.fetch("HTTP_HEADER_AUTHENTICATION_FEATURE", false) %> + voice: <%= ENV.fetch("VOICE_FEATURE", false) %> + default_to_voice: <%= ENV.fetch("DEFAULT_TO_VOICE_FEATURE", false) %> settings: # Be sure to add these ENV to docker-compose.yml default_openai_key: <%= ENV["DEFAULT_OPENAI_KEY"] %> diff --git a/docker-compose.yml b/docker-compose.yml index 8c975c8bf..dc9065137 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,12 @@ services: - DATABASE_URL=postgres://app:secret@postgres/app_development - DEV_HOST=${DEV_HOST:-localhost} # Set if you want to use a different hostname - OVERMIND_COLORS=2,3,5 + - VOICE_FEATURE + - DEFAULT_LLM_KEYS_FEATURE + - REGISTRATION_FEATURE + - PASSWORD_AUTHENTICATION_FEATURE + - GOOGLE_AUTHENTICATION_FEATURE + - HTTP_HEADER_AUTHENTICATION_FEATURE - ALLOWED_REQUEST_ORIGINS - DEFAULT_LLM_KEYS_FEATURE - DEFAULT_OPENAI_KEY