I followed this document and created volume with
fly volumes create -a redishttp db.
fly vol list command gives me this output
ID STATE NAME SIZE REGION ZONE ENCRYPTED ATTACHED VM CREATED AT vol_e628r6gxywqvwmnp created db 3GB lhr 59c1 true 24 minutes ago
I can also see volume on volumes section in web UI. However when I build and deploy with following fyl.toml file I am getting an error.
app = "redishttp" primary_region = "lhr" [build] dockerfile = "Dockerfile" ignorefile = ".dockerignore" [mounts] source="db" destination="/mnt/db" [http_service] internal_port = 8080 force_https = true auto_stop_machines = true auto_start_machines = true min_machines_running = 0
and error I am getting is
Process group 'app' needs volumes with name 'db' to fullfill mounts defined in fly.toml; Run `fly volume create db -r REGION` for the following regions and counts: lhr=1
I restarted my machine and when I issue
fly vol list I don’t see anything under ATTACHED VM.
Can anyone assist me please?