Some checks failed
Build and Push / Build and Push Docker Image (push) Failing after 2s
31 lines
1.1 KiB
Elixir
31 lines
1.1 KiB
Elixir
import Config
|
|
|
|
# For production, don't forget to configure the url host
|
|
# to something meaningful, Phoenix uses this information
|
|
# when generating URLs.
|
|
|
|
# Note we also include the path to a cache manifest
|
|
# containing the digested version of static files. This
|
|
# manifest is generated by the `mix phx.digest` task,
|
|
# which you should run after static files are built and
|
|
# before starting your production server.
|
|
config :aprsme, AprsmeWeb.Endpoint,
|
|
# Runtime production configuration, including reading
|
|
cache_static_manifest: "priv/static/cache_manifest.json",
|
|
adapter: Bandit.PhoenixAdapter,
|
|
http: [ip: {0, 0, 0, 0}, port: 4000],
|
|
session_options: [
|
|
signing_salt: "aprs-me-production-session-signing-v1",
|
|
encryption_salt: "aprs-me-production-session-encryption-v1",
|
|
secure: true,
|
|
http_only: true,
|
|
same_site: "Lax"
|
|
],
|
|
force_ssl: [rewrite_on: [:x_forwarded_proto], hsts: true]
|
|
|
|
# Do not print debug messages in production
|
|
# of environment variables, is done on config/runtime.exs.
|
|
config :logger, level: :info
|
|
|
|
# Configures Swoosh API Client
|
|
config :swoosh, :api_client, Swoosh.ApiClient.Req
|