This server is an instance of Soft Serve developed by Charm deployed on Fly.io manged by StepBroBD.
Access are only given to people I know IRL, they probably already know how to contact me.
If you really want to try it out, take a look at this instance, or ssh git.charm.sh
.
- You'll need an Fly.io account.
- If you want to automate the update process, you'll need a GitHub account for GitHub Action (or other CI services).
- Have some experience with Git/TOML/TAML.
- Soda/Coffee/Tea,
- Fork this repo (or clone then remove
.git
folder, thengit init
). fly launch
.- Change
fly.toml
, make sure app name and all the environment variables are properly setup, documentation available here. - Create a volume:
fly volumes create <volume name> -s <volume size> -r <volume region>
. - Create IP address(es):
fly ips allocate-[v4|v6]
. - Add created IP address(es) to your DNS provider.
- Add certificate:
fly certs add <FQDN>
. - Deploy your first version:
fly deploy
.
If you are lazy, stop right here, have a good day.
Fly.io is deprecating NoMad platform, the following steps will tell you how to switch from Fly.io App Platform v1 to v2.
- Save your
fly.toml
, run:fly migrate-to-v2
. - Above step should switch v1 to v2, but it will also create an additional volume.
- List volumes with
fly volumes list
, remove all volumes. - List all machines with
fly machines list
, destroy all machines. - Recreate a volume, then re-deploy the app.
This repository content excluding all submodules is licensed under the MIT License, third-party code are subject to their original license.