mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
docs: add release please tags to update version
This commit is contained in:
@@ -48,8 +48,10 @@ You can install Sablier using one of the following methods:
|
|||||||
|
|
||||||
### Use the Docker image
|
### Use the Docker image
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||

|

|
||||||

|

|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
- **Docker Hub**: [sablierapp/sablier](https://hub.docker.com/r/sablierapp/sablier)
|
- **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)
|
- **GitHub Container Registry**: [ghcr.io/sablierapp/sablier](https://github.com/sablierapp/sablier/pkgs/container/sablier)
|
||||||
@@ -58,9 +60,11 @@ Choose one of the Docker images and run it with a sample configuration file:
|
|||||||
|
|
||||||
- [sablier.yaml](https://raw.githubusercontent.com/sablierapp/sablier/main/sablier.sample.yaml)
|
- [sablier.yaml](https://raw.githubusercontent.com/sablierapp/sablier/main/sablier.sample.yaml)
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```bash
|
```bash
|
||||||
docker run -d -p 10000:10000 -v sablier.yaml:/etc/sablier/sablier.yaml sablierapp/sablier:1.10.1
|
docker run -d -p 10000:10000 -v sablier.yaml:/etc/sablier/sablier.yaml sablierapp/sablier:1.10.1
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
### Use the binary distribution
|
### Use the binary distribution
|
||||||
|
|
||||||
@@ -186,14 +190,15 @@ STRATEGY_DYNAMIC_CUSTOM_THEMES_PATH=/my/path
|
|||||||
|
|
||||||
To list all available arguments:
|
To list all available arguments:
|
||||||
|
|
||||||
|
<!-- x-release-please-version-end -->
|
||||||
```bash
|
```bash
|
||||||
sablier --help
|
sablier --help
|
||||||
|
|
||||||
# or
|
# or
|
||||||
|
|
||||||
docker run sablierapp/sablier[:version] --help
|
docker run sablierapp/sablier:1.10.1 --help
|
||||||
# e.g.: docker run sablierapp/sablier:1.10.1 --help
|
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
Command-line arguments follow the same structure as the configuration file. For example:
|
Command-line arguments follow the same structure as the configuration file. For example:
|
||||||
|
|
||||||
|
|||||||
@@ -81,14 +81,15 @@ STRATEGY_DYNAMIC_CUSTOM_THEMES_PATH=/my/path
|
|||||||
|
|
||||||
To get the list of all available arguments:
|
To get the list of all available arguments:
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```bash
|
```bash
|
||||||
sablier --help
|
sablier --help
|
||||||
|
|
||||||
# or
|
# or
|
||||||
|
|
||||||
docker run sablierapp/sablier[:version] --help
|
docker run sablierapp/sablier:1.10.1 --help
|
||||||
# ex: docker run sablierapp/sablier:1.10.1 --help
|
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
All arguments can be used in the form of the config file such as
|
All arguments can be used in the form of the config file such as
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ services:
|
|||||||
image: acouvreur/whoami:v1.10.2
|
image: acouvreur/whoami:v1.10.2
|
||||||
|
|
||||||
sablier:
|
sablier:
|
||||||
image: sablierapp/sablier:1.10.1
|
image: sablierapp/sablier:1.10.1 # x-release-please-version
|
||||||
command:
|
command:
|
||||||
- start
|
- start
|
||||||
- --provider.name=docker
|
- --provider.name=docker
|
||||||
@@ -113,7 +113,7 @@ services:
|
|||||||
image: acouvreur/whoami:v1.10.2
|
image: acouvreur/whoami:v1.10.2
|
||||||
|
|
||||||
sablier:
|
sablier:
|
||||||
image: sablierapp/sablier:1.10.1
|
image: sablierapp/sablier:1.10.1 # x-release-please-version
|
||||||
command:
|
command:
|
||||||
- start
|
- start
|
||||||
- --provider.name=docker
|
- --provider.name=docker
|
||||||
@@ -145,7 +145,7 @@ services:
|
|||||||
- sablier.group=demo
|
- sablier.group=demo
|
||||||
|
|
||||||
sablier:
|
sablier:
|
||||||
image: sablierapp/sablier:1.10.1
|
image: sablierapp/sablier:1.10.1 # x-release-please-version
|
||||||
volumes:
|
volumes:
|
||||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
additionalArguments:
|
additionalArguments:
|
||||||
- "--experimental.plugins.sablier.moduleName=github.com/sablierapp/sablier"
|
- "--experimental.plugins.sablier.moduleName=github.com/sablierapp/sablier"
|
||||||
- "--experimental.plugins.sablier.version=v1.10.1"
|
- "--experimental.plugins.sablier.version=v1.10.1" # x-release-please-version
|
||||||
|
|
||||||
providers:
|
providers:
|
||||||
kubernetesIngress:
|
kubernetesIngress:
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
serviceAccountName: sablier
|
serviceAccountName: sablier
|
||||||
containers:
|
containers:
|
||||||
- name: sablier
|
- name: sablier
|
||||||
image: sablierapp/sablier:1.10.1
|
image: sablierapp/sablier:1.10.1 # x-release-please-version
|
||||||
args:
|
args:
|
||||||
- "start"
|
- "start"
|
||||||
- "--provider.name=kubernetes"
|
- "--provider.name=kubernetes"
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ You can use the command `sablier health` to check for healthiness.
|
|||||||
|
|
||||||
`sablier health` takes on argument `--url` which defaults to `http://localhost:10000/health`.
|
`sablier health` takes on argument `--url` which defaults to `http://localhost:10000/health`.
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```yml
|
```yml
|
||||||
services:
|
services:
|
||||||
sablier:
|
sablier:
|
||||||
@@ -21,3 +22,4 @@ services:
|
|||||||
test: ["sablier", "health"]
|
test: ["sablier", "health"]
|
||||||
interval: 1m30s
|
interval: 1m30s
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
@@ -15,10 +15,12 @@ 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)
|
- [sablier.yaml](https://raw.githubusercontent.com/sablierapp/sablier/main/sablier.sample.yaml)
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```bash
|
```bash
|
||||||
docker run -d -p 10000:10000 \
|
docker run -d -p 10000:10000 \
|
||||||
-v $PWD/sablier.yaml:/etc/sablier/sablier.yaml sablierapp/sablier:1.10.1
|
-v $PWD/sablier.yaml:/etc/sablier/sablier.yaml sablierapp/sablier:1.10.1
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
## Use the binary distribution
|
## Use the binary distribution
|
||||||
|
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ The blocking strategy is supported by issuing redirect which force client to ret
|
|||||||
|
|
||||||
#### **File (YAML)**
|
#### **File (YAML)**
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```yaml
|
```yaml
|
||||||
experimental:
|
experimental:
|
||||||
plugins:
|
plugins:
|
||||||
@@ -98,13 +99,16 @@ experimental:
|
|||||||
moduleName: "github.com/sablierapp/sablier"
|
moduleName: "github.com/sablierapp/sablier"
|
||||||
version: "v1.10.1"
|
version: "v1.10.1"
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
#### **CLI**
|
#### **CLI**
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```bash
|
```bash
|
||||||
--experimental.plugins.sablier.modulename=github.com/sablierapp/sablier
|
--experimental.plugins.sablier.modulename=github.com/sablierapp/sablier
|
||||||
--experimental.plugins.sablier.version=v1.10.1
|
--experimental.plugins.sablier.version=v1.10.1
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
<!-- tabs:end -->
|
<!-- tabs:end -->
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ PROVIDER_NAME=docker
|
|||||||
|
|
||||||
!> **Ensure that Sablier has access to the docker socket!**
|
!> **Ensure that Sablier has access to the docker socket!**
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
sablier:
|
sablier:
|
||||||
@@ -41,6 +42,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
## Register containers
|
## Register containers
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ PROVIDER_NAME=docker_swarm # or swarm
|
|||||||
|
|
||||||
!> **Ensure that Sablier has access to the docker socket!**
|
!> **Ensure that Sablier has access to the docker socket!**
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
sablier:
|
sablier:
|
||||||
@@ -42,6 +43,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
## Register services
|
## Register services
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ PROVIDER_NAME=podman
|
|||||||
|
|
||||||
!> **Ensure that Sablier has access to the podman socket!**
|
!> **Ensure that Sablier has access to the podman socket!**
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
sablier:
|
sablier:
|
||||||
@@ -41,6 +42,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- '/run/podman/podman.sock:/run/podman/podman.sock'
|
- '/run/podman/podman.sock:/run/podman/podman.sock'
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
## Register containers
|
## Register containers
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ You can use the argument `--strategy.dynamic.custom-themes` to define the locati
|
|||||||
|
|
||||||
By default, the docker image looks for themes located inside the `/etc/sablier/themes` folder.
|
By default, the docker image looks for themes located inside the `/etc/sablier/themes` folder.
|
||||||
|
|
||||||
|
<!-- x-release-please-start-version -->
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
sablier:
|
sablier:
|
||||||
@@ -30,6 +31,7 @@ services:
|
|||||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||||
- '/path/to/my/themes:/etc/sablier/themes'
|
- '/path/to/my/themes:/etc/sablier/themes'
|
||||||
```
|
```
|
||||||
|
<!-- x-release-please-end -->
|
||||||
|
|
||||||
It will look recursively for themes with the `.html` extension.
|
It will look recursively for themes with the `.html` extension.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user