A basic template for deploying leaf apps on fly.io.
The project's file structure is as follows:
/
├── .fly/
│ └── scripts/
│ └── entrypoint.sh
├── docker/
├── .dockerignore
├── .htaccess
├── composer.json
├── composer.lock
├── Dockerfile
├── fly.toml
├── index.php
├── README.md
├── welcome.html
The difference between this and a regular leaf app is the addition of the fly config files.
Initialize your Leaf app on fly.io.
$ fly launch
Now deploy the app
$ fly deploy
Done!
🍁 Happy Garderning