You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
776 B
29 lines
776 B
use Mix.Config
|
|
|
|
secret_key_base =
|
|
System.get_env("SECRET_KEY_BASE") ||
|
|
raise """
|
|
environment variable SECRET_KEY_BASE is missing.
|
|
"""
|
|
|
|
config :su_score_clock, SUScoreClockWeb.Endpoint,
|
|
cache_static_manifest: "priv/static/cache_manifest.json",
|
|
check_origin: false,
|
|
code_reloader: false,
|
|
debug_errors: false,
|
|
http: [
|
|
:inet6,
|
|
port: System.get_env("LISTS_WEB_HTTP_PORT") || 20380,
|
|
max_connections: 50_000
|
|
],
|
|
live_view: [signing_salt: "n8S3b4sjzWc97butd6WwmfdsxA4yv5e7"],
|
|
pubsub: [name: SUScoreClock.PubSub, adapter: Phoenix.PubSub.PG2],
|
|
secret_key_base: secret_key_base,
|
|
server: true,
|
|
serve_endpoints: true,
|
|
root: ".",
|
|
url: [
|
|
host: "scoreclock.lindenberg.ca",
|
|
port: 20380
|
|
],
|
|
version: Application.spec(:lists, :vsn)
|