I’m trying to get a simple Rails app with Litestack deployed, but this part from the blog post doesn’t seem to work:
When the
fly launch
command is run, Fly.io runs the dockerfile-rails gem, which detects the Litestack gem and configures theDockerfile
with theVOLUME
andENV
directives needed to store and access Sqlite databases on persistent volume.The
fly launch
command then detects theVOLUME
directives from theDockerfile
and adds them to thefly.toml
file, which configures a persistent volume on the Fly Machine deployment target.
AFAICS, the only Litestack-specific thing that happens during fly launch
is that ENV LITESTACK_DATA_PATH="/data"
is added to the Dockerfile, but no “VOLUME
and ENV
directives needed to store and access Sqlite databases on persistent volume.”
Can anyone help out?