mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
update parameters to use with different blockchain-types
This commit is contained in:
parent
fa48de44af
commit
3a10d1f429
@ -391,18 +391,42 @@ return [
|
|||||||
'Session' => [
|
'Session' => [
|
||||||
'defaults' => 'php',
|
'defaults' => 'php',
|
||||||
],
|
],
|
||||||
|
// ***************************************************
|
||||||
// Gradido specific configuration
|
// Gradido specific configuration
|
||||||
|
// ***************************************************
|
||||||
// Login Server ip and port
|
// Login Server ip and port
|
||||||
'LoginServer' => [
|
'LoginServer' => [
|
||||||
'host' => 'http://login-server',
|
'host' => 'http://login-server',
|
||||||
'port' => 1201
|
'port' => 1201,
|
||||||
|
'url' => 'http://localhost'
|
||||||
],
|
],
|
||||||
'API' => [
|
|
||||||
|
// login server for look up emails from other groups
|
||||||
|
// workaround for using multiple groups until every code is finished as planned
|
||||||
|
// normally node server are responsible for email look up from users from other groups
|
||||||
|
'NeighborLoginServers' => [
|
||||||
|
['host' => 'login-server', 'port' => 1201]
|
||||||
|
],
|
||||||
|
'GradidoBlockchain' => [
|
||||||
|
// type:
|
||||||
|
// - db: centralized blockchain in mysql db, no cross group transactions
|
||||||
|
// - hedera: send transaction over hedera
|
||||||
|
'type' => 'db',
|
||||||
|
// gradido nodes with blockchain (if type != db)
|
||||||
|
'nodes' => [
|
||||||
|
['host' => 'node', 'port' => 13702]
|
||||||
|
]
|
||||||
|
],
|
||||||
|
|
||||||
|
'GroupAlias' => 'docker',
|
||||||
|
'GDTServer' => [
|
||||||
|
//'host' => 'gdt'
|
||||||
|
],
|
||||||
|
'API' => [
|
||||||
'allowedCaller' => ['login-server']
|
'allowedCaller' => ['login-server']
|
||||||
],
|
],
|
||||||
'ServerAdminEmail' => 'info@gradido.net',
|
'ServerAdminEmail' => 'info@gradido.net',
|
||||||
'noReplyEmail' => 'no-reply@gradido.net',
|
'noReplyEmail' => 'no-reply@gradido.net',
|
||||||
'disableEmail' => true,
|
'disableEmail' => false
|
||||||
|
|
||||||
'GroupNode' => false
|
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user