Update fly.io instructions in readme [skip ci] (#936)

Add instruction on fixing the fly.toml before deploying
main
satoru 2023-01-25 00:42:36 +08:00 committed by GitHub
parent e5a5aad997
commit 026714bb84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,9 @@ flyctl auth login
flyctl launch --image benbusby/whoogle-search:latest flyctl launch --image benbusby/whoogle-search:latest
``` ```
The first deploy won't succeed because the default `internal_port` is wrong.
To fix this, open the generated `fly.toml` file, set `services.internal_port` to `5000` and run `flyctl launch` again.
Your app is now available at `https://<app-name>.fly.dev`. Your app is now available at `https://<app-name>.fly.dev`.
___ ___