From ff3aa58e295b6ee5d6f2d110fff4d895a58b2261 Mon Sep 17 00:00:00 2001 From: Kyle McLaren Date: Sun, 25 Jun 2023 12:02:10 +0200 Subject: [PATCH] README updates --- README.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index fbe81e6..5dbabc8 100755 --- a/README.md +++ b/README.md @@ -10,21 +10,13 @@ This repository contains all the files and configuration necessary to run a High ___ -## Prepare a New Fly.io Application +## Prepare a New Fly.io Application and Deploy the First Peer -Begin by creating a new Fly application in your preferred region. Execute the following commands within your fork or clone of this repository. But first, be sure to set your primary region in the `fly.toml` file. +Begin by creating a new Fly application in your preferred region. Execute the following commands within your fork or clone of this repository. But first, be sure to set your primary region (and app name) in the `fly.toml` file. -### `fly launch --no-deploy` +### `fly launch --ha=false --no-public-ips` -This command generates a new Fly application and a related configuration file. When prompted, select `yes` to copy the existing configuration to the newly generated app. - -## Deploy the First Peer - -Start by deploying one instance in your preferred region. - -1. `fly volumes create qdrant_data --region ord --size 10` -2. `fly deploy --ha=false --no-public-ips` -3. `fly status` +This command creates a new Fly application with one runnning machine and an attached volume. When prompted, select `yes` to copy the existing configuration to the newly generated app. Do not create a PostgreSQL database or Upstash Redis instance. ## Add a New Peer @@ -54,6 +46,9 @@ http://.flycast:6333 If you need your app to be publicly accessible outside of the Fly Private network, you can simply [allocate a public IP](https://fly.io/docs/reference/services/#shared-ipv4) to the Fly app and start using the Fly Proxy to connect as normal (ie. `https://.fly.dev`) +> **Warning** +> If you do this, be sure to set the `QDRANT__SERVICE__API_KEY` secret. + ### Connecting to Qdrant from Your Local Machine 1. Forward the server port to your local system with [`fly proxy`](https://fly.io/docs/flyctl/proxy/): @@ -132,6 +127,8 @@ ___ If you're facing difficulties or have any queries, feel free to create an issue [here](https://github.com/kylemclaren/qdrant-on-fly/issues). +It is recommended to enable DEBUG logging before filing an issue: `fly secrets set QDRANT__DEBUG=true QDRANT__LOG_LEVEL=DEBUG` + Alternatively, you can ask questions at the community page [here](https://community.fly.io/). ## Contributing