Deploy a JavaScript app using Turso embedded replicas to Fly.io.
Locate your application
Launch with Fly
Create a shared volume
Mount and configure volumes
fly.toml
and Dockerfile
created created when you launched previously.Update fly.toml
this file to mount the new volume:Dockerfile
, make sure you install and update ca-certificates
:COPY
commands to copy the certificates:Configure the libSQL client
url
to point to a local file, and set the syncUrl
to be your Turso database URL:Deploy your updated app