docs: add sablier.sample.yaml conf

This commit is contained in:
Alexis Couvreur
2022-11-11 18:56:12 +00:00
parent ccf0829274
commit 3cd7a1cc30
2 changed files with 23 additions and 1 deletions

View File

@@ -188,10 +188,12 @@ You can install Traefik with the following flavors:
### Use the Docker image ### Use the Docker image
- **Docker Hub**: [acouvreur/sablier](https://hub.docker.com/r/acouvreur/sablier) - **Docker Hub**: [acouvreur/sablier](https://hub.docker.com/r/acouvreur/sablier)
- **Guthub Container Registry**: [ghcr.io/acouvreur/sablier](https://github.com/acouvreur/sablier/pkgs/container/sablier) - **Github Container Registry**: [ghcr.io/acouvreur/sablier](https://github.com/acouvreur/sablier/pkgs/container/sablier)
Choose one of the Docker images and run it with one sample configuration file: Choose one of the Docker images and run it with one sample configuration file:
- [sablier.yaml](https://raw.githubusercontent.com/acouvreur/sablier/main/sablier.sample.yaml)
```bash ```bash
docker run -d -p 10000:10000 \ docker run -d -p 10000:10000 \
-v $PWD/sablier.yml:/etc/sablier/sablier.yml acouvreur/sablier:1.1.0 -v $PWD/sablier.yml:/etc/sablier/sablier.yml acouvreur/sablier:1.1.0

20
sablier.sample.yaml Normal file
View File

@@ -0,0 +1,20 @@
provider:
name: docker
server:
port: 10000
base-path: /
storage:
file:
sessions:
default-duration: 5m
expiration-interval: 20s
logging:
level: info
strategy:
dynamic:
custom-themes-path:
show-details-by-default: true
default-theme: hacker-terminal
default-refresh-frequency: 5s
blocking:
default-timeout: 1m