Initial commit on Forgejo
All checks were successful
CI and deploy / Test (push) Successful in 4m52s
CI and deploy / Deploy production (push) Successful in 23s

Fresh repository history for elektrine/tarakan hosted at
https://git.elektrine.com/elektrine/tarakan.
This commit is contained in:
Maxfield Luke 2026-07-29 04:43:40 -04:00
commit af6077b9c3
455 changed files with 78366 additions and 0 deletions

35
config/prod.exs Normal file
View file

@ -0,0 +1,35 @@
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 :tarakan, TarakanWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
# Force using SSL in production. This also sets the "strict-security-transport" header,
# known as HSTS. If you have a health check endpoint, you may want to exclude it below.
# The endpoint plugs TarakanWeb.Plugs.ForwardedProto before Plug.SSL so the
# X-Forwarded-Proto scheme rewrite only applies to trusted proxies (see
# :trusted_proxies in runtime.exs), which is why this uses :trusted_ssl rather
# than Phoenix's :force_ssl. Note it is required to be set at compile-time.
config :tarakan, TarakanWeb.Endpoint,
trusted_ssl: [
host: {TarakanWeb.Endpoint, :host, []},
exclude: [
# paths: ["/health"],
hosts: ["localhost", "127.0.0.1"]
]
]
# Configure 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
# Runtime production configuration, including reading
# of environment variables, is done on config/runtime.exs.