deploy alist to fly.io
- Fork mydrive-allinone to your own GitHub repository.
- Get a Fly API token with
flyctl auth token
. - Go to your newly created repository on GitHub and select Settings.
- Go to Secrets and create a secret called FLY_API_TOKEN with the value of the token from step 2.
- Clone the repository to your local machine to edit
fly.toml
and changeapp = "mydrive-allinone"
to yourAPP_NAME
. - Run
flyctl launch
to create an APP which calledAPP_NAME
. SayN
to create.dockerignore
file. - Run
flyctl volumes create data --size 1 --app APP_NAME
to create a 1GB persistent storage space. - Commit your changes and push them up to GitHub.
- 在 Fly.io 上部署 alist 网盘程序 - 春风吹 - 浅秋枫影的博客
- Continuous Deployment with Fly.io and GitHub Actions · Fly Docs
You may need to use another remote MySQL database as instance restarts will lose data. Recommended Free MySQL Databases:
The initial password is randomly generated, and you can get it by checking the logs
.