Skip to content

Commit

Permalink
Hotfix: Include all config ENV in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
krschacht committed Jun 13, 2024
1 parent 35bf86e commit 43e9eb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/options.yml
Original file line number Diff line number Diff line change
@@ -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"] %>
Expand Down
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43e9eb2

Please sign in to comment.