mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 21:33:06 +01:00
docs: add sablier.sample.yaml conf
This commit is contained in:
@@ -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
20
sablier.sample.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user