mirror of
https://github.com/eosswedenorg/thalos-docs
synced 2026-11-29 08:56:45 +01:00
docs: align Thalos docs with current config, CLI, and API
This commit is contained in:
parent
2d90392d97
commit
3bb8bb5c26
11 changed files with 516 additions and 450 deletions
|
|
@ -10,7 +10,7 @@ The following documentation assumes that you have already set up a `redis` serve
|
|||
|
||||
## 1. Installing the package
|
||||
|
||||
### Using Sw/edens apt repository
|
||||
### Using EOSSweden apt repository
|
||||
|
||||
First, obtain the key.
|
||||
|
||||
|
|
@ -52,4 +52,4 @@ See [Configuration](/docs/configuration) for more information
|
|||
|
||||
## 3. Starting the Server
|
||||
|
||||
There are serveral ways to run the server. the most common on debian is via [systemd](/docs/running-the-server#with-systemd) or [manually](/docs/running-the-server#with-systemd)
|
||||
There are several ways to run the server. The most common on Debian is via [systemd](/docs/running-the-server#with-systemd) or [manually](/docs/running-the-server#starting-manually).
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
# Docker
|
||||
|
||||
Do you want to run Thalos in a container? No problem as Thalos provides official docker images
|
||||
Do you want to run Thalos in a container? No problem as Thalos provides official Docker images
|
||||
to get you going in no time.
|
||||
|
||||
The images can be found [here](https://github.com/eosswedenorg/thalos/pkgs/container/thalos)
|
||||
|
|
@ -19,12 +19,12 @@ Check that it works by spawning the container and display the version:
|
|||
|
||||
```sh
|
||||
$ docker run ghcr.io/eosswedenorg/thalos:latest --version
|
||||
thalos-server v1.1.1
|
||||
thalos-server v<version>
|
||||
```
|
||||
|
||||
## Using docker compose
|
||||
## Using Docker Compose
|
||||
|
||||
Use `docker-compose` to spin up a SHIP node, Redis and Thalos all at once.
|
||||
Use Docker Compose to spin up a SHIP node, Redis, and Thalos all at once.
|
||||
|
||||
```yaml
|
||||
services:
|
||||
|
|
@ -33,11 +33,11 @@ services:
|
|||
depends_on:
|
||||
- redis
|
||||
- ship
|
||||
# pass arguments to thalos.
|
||||
# Pass arguments to thalos-server.
|
||||
command: [
|
||||
"--redis-addr=redis:6379",
|
||||
"--url=http://ship:80",
|
||||
"--ship-url=http://ship:8080"
|
||||
"--url=http://ship:8888",
|
||||
"--ship-url=ws://ship:8080"
|
||||
]
|
||||
# or mount a config file
|
||||
#volumes:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ next:
|
|||
|
||||
# Installation
|
||||
|
||||
There are several ways to install thalos, via package manager, downloading a pre-built binary or building directly from source.
|
||||
There are several ways to install Thalos: package manager, pre-built binaries, or building from source.
|
||||
|
||||
## Package Managers
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ Using curl command above, the files are extracted into the `thalos` subdirectory
|
|||
|
||||
### Compiling from source
|
||||
|
||||
You will need golang version `1.26` or later to compile the source.
|
||||
You will need Go `1.26` or later to compile the source.
|
||||
|
||||
#### Compile using make
|
||||
|
||||
|
|
@ -39,11 +39,11 @@ You will need golang version `1.26` or later to compile the source.
|
|||
make
|
||||
```
|
||||
|
||||
or using go directly if you dont have make installed.
|
||||
Or using `go` directly if you don't have `make` installed:
|
||||
|
||||
```shell
|
||||
go build -o build/thalos-server cmd/thalos/main.go
|
||||
```
|
||||
```shell
|
||||
go build -o build/thalos-server ./cmd/thalos/
|
||||
```
|
||||
|
||||
#### Install
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue