Persistent Data

How do I retain the config of my apps((across app deployments) when using free-tier?

The simplest way to do this is to build the config into the image. You could also customize your app to sync config files to something like S3 occasionally.

If you’re working with pihole, you can launch a local Docker container with their docker-compose.yml. Then configure it to your liking and update your Fly app Dockerfile to add lines like this:

ADD ./etc-pihole /etc/pihole
ADD ./etc-dnsmasq.d /etc/dnsmasq.d