Struggling to deploy a docker app sending emails

What’s the output of fly status -all? That likely has clues to what’s going on.

Also, in the logs you shared, I see this line

Mounting /dev/vdc at /data

So, the volume is mounting just fine.

Make sure the app is listening for connections and health checks on TCP port 587.

In the fly.toml config, try relaxing the TCP checks, like so:

[[services.tcp_checks]]
    grace_period = "10s"
    interval = "15s"
    restart_limit = 0
    timeout = "5s"

And see if that works?


I think you’re also missing a TCP service entry (ie don’t intend to use HTTP or TLS)

  [[services.ports]]
      port = 587 

Ref: New dox dropped: running UDP and TCP (concurrently) on Fly.io apps