mirror of
https://codeberg.org/Mo8it/git-webhook-client
synced 2024-10-18 07:22:39 +00:00
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
---
|
|
|
|
# The secret of the webhook
|
|
secret: CHANGE_ME!
|
|
|
|
# The base URL of the webhook client
|
|
base_url: https://webhook.mo8it.com
|
|
|
|
# SQLite database path
|
|
sqlite_db_path: /path/to/db.sqlite
|
|
|
|
socket_address:
|
|
# IP address to bind to.
|
|
# Change to [127, 0, 0, 1] if you want to run the client locally.
|
|
address: [0, 0, 0, 0]
|
|
# Port to bind to
|
|
port: 8080
|
|
|
|
# Email server connection
|
|
email_server:
|
|
server_name: posteo.de
|
|
email: change_me@posteo.net
|
|
password: EMAIL_PASSWORD
|
|
|
|
# Email FROM <Webhook change_me@posteo.net>
|
|
email_from:
|
|
name: Webhook
|
|
user: change_me
|
|
domain: posteo.net
|
|
|
|
# Email TO <Me me@proton.me>
|
|
email_to:
|
|
name: Me
|
|
user: me
|
|
domain: proton.me
|
|
|
|
logging:
|
|
# Log file directory
|
|
directory: /path/to/log/dir
|
|
# Log file name
|
|
filename: log.txt
|
|
|
|
# List of webhooks
|
|
hooks:
|
|
- # Name shown in email subject
|
|
name: GWC
|
|
# Repository clone URL
|
|
clone_url: https://codeberg.org/Mo8it/git-webhook-client.git
|
|
# The directory to run the command in
|
|
current_dir: /volumes/scripts
|
|
# The command to run without any args
|
|
command: ls
|
|
# List of args for the command
|
|
args: ["-l", "-a", "old_scripts"]
|
|
- name: AdvLabDB
|
|
clone_url: https://codeberg.org/Mo8it/advlabdb.git
|
|
current_dir: /volumes/advlabdb/scripts
|
|
command: ./backup.sh
|
|
args: []
|