-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprod.exs
62 lines (56 loc) · 1.66 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import Config
# Note we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the `mix assets.deploy` task,
# which you should run after static files are built and
# before starting your production server.
config :probe, Probe.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
# Do not print debug messages in production
config :logger, level: :info
config :geolix,
databases: [
%{
id: :city,
adapter: Geolix.Adapter.MMDB2,
source: "/usr/local/share/GeoIP/GeoLite2-City.mmdb"
},
%{
id: :country,
adapter: Geolix.Adapter.MMDB2,
source: "/usr/local/share/GeoIP/GeoLite2-Country.mmdb"
},
%{
id: :asn,
adapter: Geolix.Adapter.MMDB2,
source: "/usr/local/share/GeoIP/GeoLite2-ASN.mmdb"
}
]
config :probe,
port_options: [
# {"Port Name", {external_port, internal_port}},
{"53 (DNS)", 53},
{"69 (TFTP)", 69},
{"80 (HTTP)", 80},
{"123 (NTP)", 123},
{"443 (HTTPS)", 443},
{"500 (IKE)", 500},
{"514 (Syslog)", 514},
{"1701 (L2TP)", 1701},
{"8080", 8080},
{"8443", 8443},
{"10000", 10000},
{"20000", 20000},
{"30000", 30000},
{"40000", 40000},
{"50000", 50000},
{"51820 (WireGuard)", 51820},
{"60000", 60000}
]
config :sentry,
dsn:
"https://1cf78c8aac016a34f514870826c3d3d4@o4507618546679808.ingest.us.sentry.io/4507618547335168",
environment_name: Mix.env(),
enable_source_code_context: true,
root_source_code_paths: [File.cwd!()]
# Runtime production configuration, including reading
# of environment variables, is done on config/runtime.exs.