Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Tabs for satellite via docker #300

Merged
merged 2 commits into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 27 additions & 13 deletions docs/install-satellite/satellite-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ description: Set up Levo.ai Satellite on Docker. Follow our detailed guide for i
---
# Satellite via Docker

## Section: 1

import BrowserOnly from '@docusaurus/BrowserOnly';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

export function DownloadDockerComposeLink() {
return (
Expand Down Expand Up @@ -35,10 +35,22 @@ export function DownloadShellScriptLink() {
- At least 4 CPUs
- At least 8 GB RAM

<Tabs
defaultValue="docker"
values={[
{ label: 'Install using Docker compose', value: 'docker', },
{ label: 'Install using Shell Script', value: 'sh', },
]}
groupId="env"
>
<TabItem value="docker">

### 1. Download Docker Compose file
Levo provides pre-built Docker images for the Satellite that can be installed via Docker Compose.
<DownloadDockerComposeLink/> the Docker Compose file to your desktop.

<p></p>

### 2. Install Satellite
Execute the following from the directory where the Docker Compose file was downloaded.

Expand Down Expand Up @@ -197,11 +209,9 @@ docker logs levoai-tagger | grep "ConnectionRefusedError: [Errno 111] Connection

If there are exception messages, Tagger is unable to connect to dependent services. It generally establishes connection after 3/4 retries. Please contact [email protected] for further assistance.

------------------------------------------------------------------------------------

## Section: 2
</TabItem>

## Install on Docker using Shell Script
<TabItem value="sh">

### 1. Download Shell Script File
Levo provides Shell Script file for the Satellite that can be installed via Docker.
Expand Down Expand Up @@ -237,8 +247,7 @@ export LEVOAI_BASE_URL='https://api.india-1.levo.ai'

:::


#### i. Start Levo Satellite
#### a. Start Levo Satellite

Execute following command to start Levo satellite.

Expand All @@ -257,23 +266,23 @@ This ensures the script can access the required environment variables without ex

:::

#### ii. Stop the Levo Satellite
#### b. Stop the Levo Satellite

Execute following command to stop or uninstall Levo satellite components.

```bash
./levo_satellite.sh stop
```

#### iii. Restart the Levo Satellite
#### c. Restart the Levo Satellite

To restart the Levo satellite components, execute the following command.

```bash
./levo_satellite.sh restart
```

#### iv. Upgrade the Levo Satellite
#### d. Upgrade the Levo Satellite

Execute the following command to upgrade the existing satellite setup.

Expand All @@ -283,13 +292,18 @@ Running this command will download the latest docker compose file and restarts a
./levo_satellite.sh upgrade
```

#### v. Share Satellite logs with Levo Support
#### e. Share Satellite logs with Levo Support

Execute the following command to collect logs from all Satellite components. This will create an archive as /tmp/levoai_satellite_logs_%date-time%.tar.gz

```bash
./levo_satellite.sh get-logs
```
-----------------------
</TabItem>

</Tabs>

-------------------------------

### Need Help?
For further assistance, please reach out to [Levo.ai Support](mailto:[email protected]).
Loading