Skip to content

Commit

Permalink
Merge pull request #10 from yeti-platform/exports
Browse files Browse the repository at this point in the history
Tweak update page
  • Loading branch information
tomchop authored Oct 15, 2024
2 parents 3f5849a + 30dad2e commit edee534
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
8 changes: 4 additions & 4 deletions content/docs/configuring/export-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ services:
command: ['tasks']
```

\*\* Note: For S3 there are several different environment variables to configure
everything from different providers to how authentication to the buckets are
done and much more. Shown above is just a common pattern, not an
all-encompassing one.
{{< callout type="info" >}} **Note**: For S3 there are several different
environment variables to configure everything from different providers to how
authentication to the buckets are done and much more. Shown above is just a
common pattern, not an all-encompassing one. {{< /callout >}}

The you can include your secret credentials in a `.env` file.

Expand Down
16 changes: 12 additions & 4 deletions content/docs/updating.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ draft: false
weight: 1
---

If you update yeti, follow these instructions:
{{< callout type="warning" >}} **Make sure to look at the release notes for any
breaking changes, and adjust steps accordingly!** {{< /callout >}}

1. Backup your database

Expand All @@ -28,8 +29,15 @@ cd yeti-docker/prod && sudo docker compose down

3. Update

- `git pull` will pull in the latest changes to the Docker compose setup
(effectively changing your infrastructure, so be mindful of any breaking
changes).
- `docker compose pull` will pull in the latest images for the Yeti services,
this should be safer to update but we still recommend to read the release
notes before updating.

```bash
git pull
git pull
sudo docker compose pull
```

Expand All @@ -39,7 +47,7 @@ sudo docker compose pull
sudo docker compose up -d
```

5. Restore database
5. _(optional)_ Restore database

```bash
sudo docker compose run --rm -v $(pwd)/backup:/backup arangodb arangorestore --server.endpoint tcp://arangodb:8529 --input-directory /backup --server.database yeti --overwrite true
Expand All @@ -52,7 +60,7 @@ sudo docker ps yeti.conf api:/app/
sudo docker ps yeti.conf tasks:/app/
```

7. Restart contenairs
7. Restart containers

```bash
sudo docker compose restarts tasks api
Expand Down

0 comments on commit edee534

Please sign in to comment.