forked from hexpm/hexpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prod.exs
43 lines (33 loc) · 960 Bytes
/
prod.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import Config
config :hexpm,
billing_impl: Hexpm.Billing.Hexpm,
cdn_impl: Hexpm.CDN.Fastly,
pwned_impl: Hexpm.Pwned.HaveIBeenPwned,
tmp_dir: "tmp"
config :hexpm, :features, package_reports: false
config :hexpm, HexpmWeb.Endpoint,
http: [compress: true],
url: [scheme: "https", port: 443],
load_from_system_env: true,
cache_static_manifest: "priv/static/cache_manifest.json"
config :hexpm, Hexpm.RepoBase, ssl: true
config :bcrypt_elixir, log_rounds: 12
config :rollbax,
environment: "prod",
enabled: true,
enable_crash_reports: true
config :hexpm,
topologies: [
kubernetes: [
strategy: Cluster.Strategy.Kubernetes,
config: [
mode: :dns,
kubernetes_node_basename: "hexpm",
kubernetes_selector: "app=hexpm",
polling_interval: 10_000
]
]
]
config :phoenix, :serve_endpoints, true
config :logger, level: :info
config :logger, :default_formatter, metadata: [:request_id]