2025-12-30 12:26:26 +00:00
|
|
|
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 :simpleshop_theme, SimpleshopThemeWeb.Endpoint,
|
|
|
|
|
cache_static_manifest: "priv/static/cache_manifest.json"
|
|
|
|
|
|
|
|
|
|
# Configures Swoosh API Client
|
|
|
|
|
config :swoosh, api_client: Swoosh.ApiClient.Req
|
|
|
|
|
|
|
|
|
|
# Disable Swoosh Local Memory Storage
|
|
|
|
|
config :swoosh, local: false
|
|
|
|
|
|
|
|
|
|
# Do not print debug messages in production
|
|
|
|
|
config :logger, level: :info
|
|
|
|
|
|
2026-02-08 17:02:21 +00:00
|
|
|
# Structured JSON logs for production (machine-parseable by fly logs, journalctl, Loki, etc.)
|
|
|
|
|
config :logger, :default_handler, formatter: {LoggerJSON.Formatters.Basic, []}
|
|
|
|
|
|
2025-12-30 12:26:26 +00:00
|
|
|
# Runtime production configuration, including reading
|
|
|
|
|
# of environment variables, is done on config/runtime.exs.
|