mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-24 14:31:51 +01:00
deploy: 2a2079c541
This commit is contained in:
@@ -87,7 +87,7 @@ sablier --help
|
||||
# or
|
||||
|
||||
docker run acouvreur/sablier[:version] --help
|
||||
# ex: docker run acouvreur/sablier:1.8.0-beta.5 --help
|
||||
# ex: docker run acouvreur/sablier:1.8.0-beta.22 --help
|
||||
```
|
||||
|
||||
All arguments can be used in the form of the config file such as
|
||||
|
||||
@@ -43,7 +43,7 @@ services:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
```
|
||||
|
||||
#### **Caddyfile**
|
||||
@@ -75,10 +75,10 @@ services:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
|
||||
sablier:
|
||||
image: acouvreur/sablier:1.8.0-beta.5
|
||||
image: acouvreur/sablier:1.8.0-beta.22
|
||||
command:
|
||||
- start
|
||||
- --provider.name=docker
|
||||
@@ -110,10 +110,10 @@ services:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
|
||||
sablier:
|
||||
image: acouvreur/sablier:1.8.0-beta.5
|
||||
image: acouvreur/sablier:1.8.0-beta.22
|
||||
command:
|
||||
- start
|
||||
- --provider.name=docker
|
||||
@@ -139,7 +139,7 @@ services:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
labels:
|
||||
- sablier.enable=true
|
||||
- sablier.group=demo
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
additionalArguments:
|
||||
- "--experimental.plugins.sablier.moduleName=github.com/acouvreur/sablier"
|
||||
- "--experimental.plugins.sablier.version=v1.8.0-beta.5"
|
||||
- "--experimental.plugins.sablier.version=v1.8.0-beta.22"
|
||||
|
||||
providers:
|
||||
kubernetesIngress:
|
||||
@@ -143,7 +143,7 @@
|
||||
serviceAccount: sablier
|
||||
containers:
|
||||
- name: sablier
|
||||
image: acouvreur/sablier:1.8.0-beta.5
|
||||
image: acouvreur/sablier:1.8.0-beta.22
|
||||
args:
|
||||
- "start"
|
||||
- "--provider.name=kubernetes"
|
||||
|
||||
@@ -16,7 +16,7 @@ You can use the command `sablier health` to check for healthiness.
|
||||
```yml
|
||||
services:
|
||||
sablier:
|
||||
image: acouvreur/sablier:1.8.0-beta.5
|
||||
image: acouvreur/sablier:1.8.0-beta.22
|
||||
healthcheck:
|
||||
test: ["sablier", "health"]
|
||||
interval: 1m30s
|
||||
|
||||
@@ -18,7 +18,7 @@ Choose one of the Docker images and run it with one sample configuration file:
|
||||
|
||||
```bash
|
||||
docker run -d -p 10000:10000 \
|
||||
-v $PWD/sablier.yml:/etc/sablier/sablier.yml acouvreur/sablier:1.8.0-beta.5
|
||||
-v $PWD/sablier.yml:/etc/sablier/sablier.yml acouvreur/sablier:1.8.0-beta.22
|
||||
```
|
||||
|
||||
## Use the binary distribution
|
||||
|
||||
@@ -26,7 +26,7 @@ You have to use the dynamic config file provider instead.
|
||||
|
||||
```yaml
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
labels:
|
||||
- traefik.enable
|
||||
- traefik.http.routers.whoami.rule=PathPrefix(`/whoami`)
|
||||
@@ -66,7 +66,7 @@ See also [`traefik.docker.lbswarm`](https://doc.traefik.io/traefik/routing/provi
|
||||
```yaml
|
||||
services:
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
deploy:
|
||||
replicas: 0
|
||||
labels:
|
||||
@@ -96,14 +96,14 @@ experimental:
|
||||
plugins:
|
||||
sablier:
|
||||
moduleName: "github.com/acouvreur/sablier"
|
||||
version: "v1.8.0-beta.5"
|
||||
version: "v1.8.0-beta.22"
|
||||
```
|
||||
|
||||
#### **CLI**
|
||||
|
||||
```bash
|
||||
--experimental.plugins.sablier.modulename=github.com/acouvreur/sablier
|
||||
--experimental.plugins.sablier.version=v1.8.0-beta.5
|
||||
--experimental.plugins.sablier.version=v1.8.0-beta.22
|
||||
```
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
@@ -34,7 +34,7 @@ PROVIDER_NAME=docker
|
||||
```yaml
|
||||
services:
|
||||
sablier:
|
||||
image: acouvreur/sablier:1.8.0-beta.5
|
||||
image: acouvreur/sablier:1.8.0-beta.22
|
||||
command:
|
||||
- start
|
||||
- --provider.name=docker
|
||||
@@ -51,7 +51,7 @@ You have to register your containers by opting-in with labels.
|
||||
```yaml
|
||||
services:
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
labels:
|
||||
- sablier.enable=true
|
||||
- sablier.group=mygroup
|
||||
|
||||
@@ -35,7 +35,7 @@ PROVIDER_NAME=docker_swarm # or swarm
|
||||
```yaml
|
||||
services:
|
||||
sablier:
|
||||
image: acouvreur/sablier:1.8.0-beta.5
|
||||
image: acouvreur/sablier:1.8.0-beta.22
|
||||
command:
|
||||
- start
|
||||
- --provider.name=docker_swarm # or swarm
|
||||
@@ -52,7 +52,7 @@ You have to register your services by opting-in with labels.
|
||||
```yaml
|
||||
services:
|
||||
whoami:
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
deploy:
|
||||
labels:
|
||||
- sablier.enable=true
|
||||
|
||||
@@ -88,7 +88,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: whoami
|
||||
image: containous/whoami:v1.5.0
|
||||
image: acouvreur/whoami:v1.10.2
|
||||
```
|
||||
|
||||
## How does Sablier knows when a deployment is ready?
|
||||
|
||||
@@ -25,7 +25,7 @@ By default, the docker image looks for themes located inside the `/etc/sablier/t
|
||||
```yaml
|
||||
services:
|
||||
sablier:
|
||||
image: acouvreur/sablier:1.8.0-beta.5
|
||||
image: acouvreur/sablier:1.8.0-beta.22
|
||||
volumes:
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
- '/path/to/my/themes:/etc/sablier/themes'
|
||||
|
||||
Reference in New Issue
Block a user