dokploy in dokploy UI phoenix in env variable
How to deploy Dockerfile add rel folder
To move domain to cloudflare -> set up account -> import domain (point nameserver to new thing) -> use A-Record to point to your hetzner servre
When doing certs on cloudflare don't do it on dokploy
Automated backups via cloudflare R2 and dokploy
Problems was initially: wrong docker image with outdated deps Then it was wrong API vars and I needed to rebuild Then more of the same Then DB not running
The runtime configue overrides the compiletime prod.exs config You need to have force ssl true but also forward the stuff properly so that it accepts the cloudflare forwarded protocol headers
Final fix that worked:
websecure entrypoint (port 443)force_ssl config - rewrite_on: [:x_forwarded_proto] prevents redirect loops with Cloudflare proxyset up the transactional email sender, ideally with postmark
SOMETIMES YOU NEED A REDEPLOY AFTER HAVING THE DOMAIN LINKED AND SET UP TO WHATEVER SERVICE