Update instructions for fly.io [skip ci]

Closes #772
This commit is contained in:
Ben Busby 2022-07-18 10:20:37 -06:00 committed by GitHub
parent a1adf60b30
commit 75a57ede07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,30 +104,19 @@ Provides:
### C) [Fly.io](https://fly.io)
You will need a [Fly.io](https://fly.io) account to do this. Fly requires a credit card to deploy anything, but you can have up to 3 shared-CPU VMs running full-time each month for free.
You will need a **PAID** [Fly.io](https://fly.io) account to deploy Whoogle.
#### Install the CLI:
#### Install the CLI: https://fly.io/docs/hands-on/installing/
#### Deploy the app
```bash
curl -L https://fly.io/install.sh | sh
```
#### Deploy your app
```bash
fly apps create --org personal --port 5000
# Choose a name and the Image builder
# Enter `benbusby/whoogle-search:latest` as the image name
fly deploy
flyctl auth login
flyctl launch --image benbusby/whoogle-search:latest
```
Your app is now available at `https://<app-name>.fly.dev`.
You can customize the `fly.toml`:
- Remove the non-https service
- Add environment variables under the `[env]` key
- Use `fly secrets set NAME=value` for more sensitive values like `WHOOGLE_PASS` and `WHOOGLE_PROXY_PASS`.
### D) [pipx](https://github.com/pipxproject/pipx#install-pipx)
Persistent install: