Files
docker-compose/asciinema/custom.exs
Sebastian Krüger dd73774f7d fix: remove broken CustomThemeInjector Plug from custom.exs
The Plug was causing AsciinemaWeb.Endpoint to fail on startup.
Reverting to just SMTP configuration while we find a proper way
to inject custom theme.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 09:52:16 +01:00

18 lines
544 B
Elixir

import Config
# Configure Swoosh SMTP adapter to skip TLS certificate verification
# This is needed for IONOS SMTP server which has certificate key usage issues
config :asciinema, Asciinema.Emails.Mailer,
adapter: Swoosh.Adapters.SMTP,
relay: System.get_env("SMTP_HOST"),
username: System.get_env("SMTP_USERNAME"),
password: System.get_env("SMTP_PASSWORD"),
port: System.get_env("SMTP_PORT") || 587,
tls: :always,
auth: :always,
ssl: false,
tls_options: [
verify: :verify_none,
versions: [:"tlsv1.2", :"tlsv1.3"]
]