I created a volume
fly volumes create bjj_rails_active_storage
But when I deploy I get the following error:
Error: Process group 'app' needs volumes with name 'bjj_rails_active_storage' to fullfill mounts defined in fly.toml; Run `fly volume create bjj_rails_active_storage -r REGION` for the following regions and counts: yul=1
I have tried with two differnt fly.toml configs.
First:
[[mounts]]
processes = ["app"]
source = "bjj_rails_active_storage"
destination = "/storage"
As well as:
[mount]
source = "bjj_rails_active_storage"
destination = "/storage"
My fly.toml looks like this:
app = "bjjrails"
primary_region = "yul"
kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[[services]]
protocol = "tcp"
internal_port = 3000
processes = ["app"]
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0
[[statics]]
guest_path = "/rails/public"
url_prefix = "/"
Can anyone point me in the right direction?