releases.exs 520 B

123456789101112
  1. import Config
  2. secret_key_base = System.fetch_env!("SECRET_KEY_BASE")
  3. application_port = System.fetch_env!("APP_PORT")
  4. application_host = System.fetch_env!("APP_HOST")
  5. application_scheme = System.fetch_env!("APP_SCHEME")
  6. config :openpod, OpenpodWeb.Endpoint,
  7. url: [scheme: application_scheme, host: application_host, port: String.to_integer(application_port)],
  8. http: [:inet6, port: String.to_integer(application_port)],
  9. secret_key_base: secret_key_base,
  10. cache_static_manifest: "priv/static/cache_manifest.json"