Skip to content

Commit

Permalink
allows setting app_url_* with credentials file
Browse files Browse the repository at this point in the history
  • Loading branch information
jlvallelonga committed Nov 5, 2024
1 parent 5e99b81 commit f763ef9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ shared:
password_reset_email: <%= ENV["PASSWORD_RESET_EMAIL_FEATURE"] || default_to(false, except_env_test: true) %>
settings:
# Be sure to add these ENV to docker-compose.yml
app_url_protocol: <%= ENV["APP_URL_PROTOCOL"] %>
app_url_host: <%= ENV["APP_URL_HOST"] %>
app_url_port: <%= ENV["APP_URL_PORT"] %>
app_url_protocol: <%= ENV["APP_URL_PROTOCOL"] || default_to(app_url: :protocol) %>
app_url_host: <%= ENV["APP_URL_HOST"] || default_to(app_url: :host) %>
app_url_port: <%= ENV["APP_URL_PORT"] || default_to(app_url: :port) %>
validate_env_vars: <%= ENV["VALIDATE_ENV_VARS"] || "1" %>
product_name: <%= ENV["PRODUCT_NAME"] || "HostedGPT" %>
default_openai_key: <%= ENV["DEFAULT_OPENAI_KEY"] %>
Expand Down

0 comments on commit f763ef9

Please sign in to comment.