mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
42 lines
1.0 KiB
Markdown
42 lines
1.0 KiB
Markdown
|
|
# Install Sablier on its own
|
|
|
|
You can install Sablier with the following flavors:
|
|
|
|
- Use the Docker image
|
|
- Use the binary distribution
|
|
- Compile your binary from the sources
|
|
|
|
## Use the Docker image
|
|
|
|
- **Docker Hub**: [sablierapp/sablier](https://hub.docker.com/r/sablierapp/sablier)
|
|
- **GitHub Container Registry**: [ghcr.io/sablierapp/sablier](https://github.com/sablierapp/sablier/pkgs/container/sablier)
|
|
|
|
Choose one of the Docker images and run it with one sample configuration file:
|
|
|
|
- [sablier.yaml](https://raw.githubusercontent.com/sablierapp/sablier/main/sablier.sample.yaml)
|
|
|
|
```bash
|
|
docker run -d -p 10000:10000 \
|
|
-v $PWD/sablier.yml:/etc/sablier/sablier.yml sablierapp/sablier:1.8.6
|
|
```
|
|
|
|
## Use the binary distribution
|
|
|
|
Grab the latest binary from the [releases](https://github.com/sablierapp/sablier/releases) page.
|
|
|
|
And run it:
|
|
|
|
```bash
|
|
./sablier --help
|
|
```
|
|
|
|
## Compile your binary from the sources
|
|
|
|
```bash
|
|
git clone git@github.com:sablierapp/sablier.git
|
|
cd sablier
|
|
make
|
|
# Output will change depending on your distro
|
|
./sablier_draft_linux-amd64
|
|
``` |