open-pod/config/releases.exs

13 lines
520 B
Elixir
Raw Normal View History

2020-06-08 23:01:05 +02:00
import Config
secret_key_base = System.fetch_env!("SECRET_KEY_BASE")
application_port = System.fetch_env!("APP_PORT")
application_host = System.fetch_env!("APP_HOST")
application_scheme = System.fetch_env!("APP_SCHEME")
2020-06-08 23:01:05 +02:00
2020-06-08 23:37:11 +02:00
config :openpod, OpenpodWeb.Endpoint,
url: [scheme: application_scheme, host: application_host, port: String.to_integer(application_port)],
2020-06-08 23:01:05 +02:00
http: [:inet6, port: String.to_integer(application_port)],
2020-07-31 15:40:50 +02:00
secret_key_base: secret_key_base,
cache_static_manifest: "priv/static/cache_manifest.json"