-
Dominik Hebeler authoredDominik Hebeler authored
default.json 2.44 KiB
{
"app": {
"url": "http://localhost:8080",
"secret": "dq+]Q64f?YLCC=Wsxn:0M.Kr`_t)",
"api_token": "no-auth",
"database": {
"pg_connection": {
"host": "express_postgres",
"port": 5432,
"user": "metager",
"password": "secure",
"database": "metager"
}
},
"openid_auth": {
"url": "<OPEN ID Base URL>",
"app_id": "<OPEN ID APP ID>",
"app_secret": "<OPEN ID APP SECRET>"
},
"osticket": {
"enabled": true,
"url": "<OSTICKET_URL>",
"api_key": "<OSTICKET_API_KEY>"
},
"zammad": {
"notification_enabled": false,
"refund_enabled": true,
"receipt_enabled": true,
"url": "<ZAMMAD_URL>",
"api_key": "<ZAMMAD_API_KEY>",
"notification_ticket_id": "0"
},
"accent": {
"apiUrl": "https://translate.metager.de",
"apiKey": "",
"files": [
{
"language": "de",
"format": "json",
"source": "lang/de/*.json",
"target": "lang/%slug%/%original_file_name%.json",
"hooks": {}
}
]
}
},
"price": {
"per_token": 0.01,
"vat": 7,
"purchasable": [
500,
1000,
2000,
3000,
4000,
6000
],
"allowed_currencies": [
"EUR",
"USD",
"CAD",
"GBP"
],
"number_range": {
"payment_reference": 0,
"invoices": 0,
"payments": 0
}
},
"redis": {
"host": "express_redis",
"port": 6379,
"password": null,
"sentinel": {
"active": false,
"sentinelPassword": null,
"name": "master-set-name-as-in-config",
"sentinel_hosts": [
{
"host": "sentinel_1",
"port": 26379
}
]
}
},
"storage": {
"data_path": "/data"
},
"keys": {
"expiration_years": 2
},
"crypto": {
"hmac_integrity_seed": "<insert_secret_for_hmac_seed>",
"private_key": {
"seed": "<insert_secret_seed>",
"bit_length": 2048,
"date_format": "YYYY-MM"
}
},
"payments": {
"paypal": {
"base": "https://api-m.sandbox.paypal.com",
"secret": "<INSERT_PAYPAL_APPLICATION_SECRET>",
"client_id": "<INSERT_PAYPAL_CLIENT_ID>"
},
"micropayment": {
"project": "<PROJECT_ID>",
"access_key": "<MICROPAYMENT_ACCESS_KEY>",
"secretfield": "<SECRET CONFIGURED FOR PAYMENT METHOD>",
"services": {
"paysafecard": {}
}
}
}
}