# TriggerShell configuration. # Full reference: https://dev.pivoine.art/valknar/triggershell.git (see docs/CONFIG_REFERENCE.md) 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}" sessionTtlHours: 12 users: [] # Add a user with: triggershell users add tokens: [] # Add an API token with: triggershell users add-token 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: []