diff --git a/compose.yaml b/compose.yaml index 0459695d..c92182d2 100644 --- a/compose.yaml +++ b/compose.yaml @@ -21,7 +21,6 @@ services: - LOGIN_PASSWORD - MIX_ENV - OPENAI_KEY - - PHX_HOST - POOL_SIZE - PORT - SECRET_KEY_BASE diff --git a/config/runtime.exs b/config/runtime.exs index 41465f52..d2610e31 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -136,7 +136,7 @@ if config_env() == :prod do environment variable API_TOKEN is missing. """ - host = System.get_env("PHX_HOST") || "example.com" + host = System.get_env("SERVICE_FQDN_WEB") || "example.com" port = String.to_integer(System.get_env("PORT") || "4000") config :music_library, MusicLibraryWeb, login_password: login_password, api_token: api_token