Files
triggershell/templates/triggershell.yml
T

36 lines
935 B
YAML
Raw Normal View History

2026-08-15 18:37:30 +02:00
# TriggerShell configuration.
2026-08-15 19:34:54 +02:00
# Full reference: https://dev.pivoine.art/valknar/triggershell.git (see docs/CONFIG_REFERENCE.md)
2026-08-15 18:37:30 +02:00
server:
host: 127.0.0.1
port: __PORT__
auth:
enabled: __AUTH_ENABLED__
# Must be >= 32 characters if auth is enabled. Kept out of this file - `triggershell init`
# generated one into .env (TRIGGERSHELL_SESSION_SECRET) alongside this config.
sessionSecret: "${TRIGGERSHELL_SESSION_SECRET}"
2026-08-15 18:37:30 +02:00
sessionTtlHours: 12
users: []
# Add a user with: triggershell users add <username>
tokens: []
# Add an API token with: triggershell users add-token <name>
database:
path: .triggershell/triggershell.db
logs:
dir: .triggershell/logs
retentionDays: 30
scripts: []
# Add scripts like:
# scripts:
# - id: hello-world
# name: Hello World
# description: A minimal example script.
# command: echo
# args: ["Hello, TriggerShell!"]
# timeoutSeconds: 60
# variables: []