feat: config

This commit is contained in:
2025-08-24 14:23:51 +02:00
parent 0f3da902dc
commit 958979c62b
9 changed files with 159 additions and 86 deletions

60
config.example.json Normal file
View File

@@ -0,0 +1,60 @@
{
"gitea_url": "https://git.schreifuchs.ch",
"gitea_token": "",
"repos": [
{
"owner": "lou-taylor",
"repo": "lou-taylor-web"
},
{
"owner": "lou-taylor",
"repo": "lou-taylor-api"
},
{
"owner": "lou-taylor",
"repo": "accounting"
}
],
"min_duration": "15m",
"hourly": 16,
"from_entity": {
"name": "schreifuchs.ch",
"iban": "",
"address": {
"street": "",
"number": "",
"zip_code": "",
"place": "",
"country": ""
},
"contact": ""
},
"to_entity": {
"name": "",
"address": {
"street": "",
"number": "",
"zip_code": "",
"place": "",
"country": ""
},
"contact": "Loana Groux"
},
"pdf_generator_url": "http://localhost:3030",
"mailer": {
"smtp": {
"host": "mail.your-server.de",
"port": "465",
"user": "",
"password": ""
},
"from": ""
},
"mail": {
"to": "",
"subject": "",
"body": ""
},
"mail_bcc": [""]
}