191 lines
4.0 KiB
JSON
191 lines
4.0 KiB
JSON
{
|
|
"general": {
|
|
"help_url": false,
|
|
"pricing_plan_url": "",
|
|
"app_download_url": "https://twake.app/download",
|
|
"mobile": {
|
|
"mobile_redirect": "mobile.twake.app",
|
|
"mobile_appstore": "https://apps.apple.com/fr/app/twake/id1588764852?l=en",
|
|
"mobile_googleplay": "https://play.google.com/store/apps/details?id=com.twake.twake&gl=FR"
|
|
},
|
|
"app_grid": [
|
|
{
|
|
"name": "Tmail",
|
|
"logo": "/public/img/grid/tmail.png",
|
|
"url": "https://tmail.linagora.com/"
|
|
},
|
|
{
|
|
"name": "Twake",
|
|
"logo": "/public/img/grid/twake.png",
|
|
"url": "https://twake.app/"
|
|
}
|
|
],
|
|
"accounts": {
|
|
"_type": "remote",
|
|
"type": "internal",
|
|
"internal": {
|
|
"disable_account_creation": false
|
|
},
|
|
"remote": {
|
|
"authority": "http://auth.example.com/",
|
|
"client_id": "twakeweb",
|
|
"client_secret": "",
|
|
"issuer": "",
|
|
"audience": "",
|
|
"redirect_uris": [""],
|
|
"account_management_url": "http://web.twake-console.local/profile?company-code={company_id}",
|
|
"collaborators_management_url": "http://web.twake-console.local/compaies/{company_id}/users?company-code={company_id}",
|
|
"company_management_url": "http://web.twake-console.local/companies?company-code={company_id}"
|
|
}
|
|
}
|
|
},
|
|
"console": {
|
|
"type": "internal"
|
|
},
|
|
"sentry": {
|
|
"dsn": ""
|
|
},
|
|
"logger": {
|
|
"level": "debug"
|
|
},
|
|
"tracker": {
|
|
"type": "segment",
|
|
"segment": {
|
|
"key": ""
|
|
}
|
|
},
|
|
"webserver": {
|
|
"port": 4000,
|
|
"logger": {
|
|
"level": "info"
|
|
},
|
|
"cors": {
|
|
"origin": "*"
|
|
},
|
|
"static": {
|
|
"root": "./public"
|
|
}
|
|
},
|
|
"websocket": {
|
|
"path": "/socket/",
|
|
"adapters": {
|
|
"types": [],
|
|
"redis": {
|
|
"host": "redis",
|
|
"port": 6379
|
|
}
|
|
},
|
|
"auth": {
|
|
"jwt": {
|
|
"secret": "supersecret"
|
|
}
|
|
}
|
|
},
|
|
"auth": {
|
|
"jwt": {
|
|
"secret": "supersecret",
|
|
"expiration": 3600,
|
|
"refresh_expiration": 2592000
|
|
}
|
|
},
|
|
"database": {
|
|
"secret": "ab63bb3e90c0271c9a1c06651a7c0967eab8851a7a897766",
|
|
"type": "cassandra",
|
|
"mongodb": {
|
|
"uri": "mongodb://mongo:27017",
|
|
"database": "twake"
|
|
},
|
|
"cassandra": {
|
|
"contactPoints": ["scylladb:9042"],
|
|
"localDataCenter": "datacenter1",
|
|
"keyspace": "twake",
|
|
"wait": false,
|
|
"retries": 10,
|
|
"delay": 200
|
|
}
|
|
},
|
|
"message-queue": {
|
|
"// possible 'type' values are": "'amqp' or 'local'",
|
|
"type": "amqp",
|
|
"amqp": {
|
|
"urls": ["amqp://guest:guest@rabbitmq:5672"]
|
|
}
|
|
},
|
|
"search": {
|
|
"type": "elasticsearch",
|
|
"elasticsearch": {
|
|
"endpoint": "http://elasticsearch:9200"
|
|
}
|
|
},
|
|
"push": {
|
|
"type": false,
|
|
"fcm": {
|
|
"endpoint": "https://fcm.googleapis.com/fcm/send",
|
|
"key": ""
|
|
}
|
|
},
|
|
"storage": {
|
|
"secret": "0ea28a329df23220fa814e005bfb671c",
|
|
"iv": "1234abcd00000000",
|
|
"type": "local",
|
|
"S3": {
|
|
"endPoint": "play.min.io",
|
|
"port": 9000,
|
|
"useSSL": false,
|
|
"accessKey": "ABCD",
|
|
"secretKey": "x1yz"
|
|
},
|
|
"local": {
|
|
"path": "/storage/"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"server": "plugins:3100"
|
|
},
|
|
"knowledge-graph": {
|
|
"endpoint": "http://host-gateway:8888",
|
|
"callback_token": "secret",
|
|
"use": false,
|
|
"forwarded_companies": []
|
|
},
|
|
"email-pusher": {
|
|
"endpoint": "https://api.smtp2go.com/v3/email/send",
|
|
"api_key": "secret",
|
|
"sender": "noreply@twake.app"
|
|
},
|
|
"services": [
|
|
"auth",
|
|
"push",
|
|
"storage",
|
|
"webserver",
|
|
"websocket",
|
|
"database",
|
|
"cron",
|
|
"search",
|
|
"message-queue",
|
|
"realtime",
|
|
"phpnode",
|
|
"tracker",
|
|
"general",
|
|
"user",
|
|
"applications-api",
|
|
"applications",
|
|
"channels",
|
|
"notifications",
|
|
"messages",
|
|
"files",
|
|
"workspaces",
|
|
"console",
|
|
"previews",
|
|
"counter",
|
|
"statistics",
|
|
"cron",
|
|
"online",
|
|
"knowledge-graph",
|
|
"knowledge-graph-web",
|
|
"email-pusher",
|
|
"documents",
|
|
"tags"
|
|
]
|
|
}
|