elektrine/config/prod.exs
maxfield fd1014ac01
All checks were successful
Deploy Docker Images / Build, push, and deploy (push) Successful in 20m16s
refactor: HTTP client stack and federation fetch improvements
Consolidate outbound HTTP/Gun usage, ActivityPub fetch helpers, and
related call sites so remote fetch policy and retries stay consistent.
2026-08-01 05:28:03 -04:00

25 lines
916 B
Elixir

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 :elektrine, ElektrineWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
# Configures Swoosh API Client
config :swoosh, api_client: Elektrine.HTTP.SwooshClient
# Disable Swoosh Local Memory Storage
config :swoosh, local: false
# Do not print debug messages in production
config :logger, level: :info
# Configure JSON logging for production so log aggregators can parse log levels
config :logger, :console,
format: {ElektrineWeb.JsonLogFormatter, :format},
metadata: [:request_id, :user_id]
# Runtime production configuration, including reading
# of environment variables, is done on config/runtime.exs.