mounts multiple volume on fly.toml

currently, I only mounts a single volume with this configuration

[mounts]
  source="xxxx"
  destination="/data"

but now I’m trying to mounts another volume in single fly.toml, what I already try is:

[mounts]
  source="xxxx"
  destination="/data"

[mounts]
  source="x1x1"
  destination="/data1"

but It’s gave me an error : “Cannot redefine existing key ‘mounts’.”

thanks

You can only mount one volume to a VM, currently. The section name is misleading :slight_smile:

1 Like