garm/testdata/config.toml
Gabriel Adrian Samfira 1dda4a835c Rename project to garm
Project renamed to garm (Github Actions Runner Manager)
2022-05-04 11:44:10 +00:00

63 lines
1.6 KiB
TOML

[default]
config_dir = "/etc/garm"
callback_url = "https://webhooks.samfira.com/api/v1/instances/status"
# log_file = "/tmp/garm.log"
[jwt_auth]
secret = "L&CGG?%VaV;Zs5CnGqaWINDBhx<GSU*IIrS&gX*TA&e$f<P@KMVdg2To^w5'ms!<"
time_to_live = "3h"
[apiserver]
bind = "0.0.0.0"
port = 9997
use_tls = false
[apiserver.tls]
certificate = ""
key = ""
ca_certificate = ""
[database]
debug = true
backend = "sqlite3"
[database.mysql]
username = ""
password = ""
hostname = ""
database = ""
[database.sqlite3]
db_file = "/tmp/file.db"
[[provider]]
name = "lxd_local"
provider_type = "lxd"
[provider.lxd]
unix_socket_path = "/var/snap/lxd/common/lxd/unix.socket"
include_default_profile = false
secure_boot = false
project_name = "github"
address = ""
client_certificate = ""
client_key = ""
tls_server_certificate = ""
[provider.lxd.image_remotes]
[provider.lxd.image_remotes.ubuntu]
addr = "https://cloud-images.ubuntu.com/releases"
public = true
protocol = "simplestreams"
skip_verify = false
[provider.lxd.image_remotes.ubuntu_daily]
addr = "https://cloud-images.ubuntu.com/daily"
public = true
protocol = "simplestreams"
skip_verify = false
[provider.lxd.image_remotes.images]
addr = "https://images.linuxcontainers.org"
public = true
protocol = "simplestreams"
skip_verify = false
[[github]]
name = "example"
description = "github token or user example"
oauth2_token = "super secret token"