Hello - I’m setting up a self-hosted Dawarich instance in Docker on a Raspberry Pi and want to set up email. As it’s self-hosted and not exposed to the internet, I don’t have a TLS certificate. The documentation says:
If you genuinely serve Dawarich over plain HTTP (LAN-only, Tailscale-only, or another private network without TLS) and want emails to link with http://, mount a one-line initializer:
# config/initializers/mailer_protocol.rb
Rails.application.config.action_mailer.default_url_options[:protocol] = 'http'
Where should that go in the docker-compose.yml file?
I have set up the SMTP variables for both dawarich_app and dawarich_sidekiq.
I’m generally moderately competent though pretty new to Docker, and floundering a bit here. Thanks in advance!