-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockersignalrconfig.json
113 lines (113 loc) · 3.13 KB
/
dockersignalrconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"instance":"IAC_Instance",
"name":"IAC",
"version":"1.0.0",
"description":"IAC is a framework for building web applications with Go.",
"author":"IAC",
"singalrconfig":{
"serverwc": "ws://iac-signalrsrv:8222",
"server": "http://iac-signalrsrv:8222",
"hub": "/iacmessagebus"
},
"transaction":{
"timeout": 30
},
"database":{
"type":"mysql",
"connection": "user:iacf12345678@tcp(mysql:3306)/iac?timeout=5s",
"maxidleconns":5,
"maxopenconns":10,
"timeout": 5
},
"altdatabases":[
{
"name": "conn1",
"type":"mysql",
"connection":"user:iacf12345678@tcp(mysql:3306)/iac"
}
],
"documentdb":{
"type": "mongodb",
"connection": "mongodb://mongodb:27017",
"database": "IAC_CFG"
},
"webserver":{
"port": 8000,
"timeout": 30,
"paths":{
"portal": {
"path":"portal",
"home":"portal/uipage.html"}
},
"proxy":{
"draw": "http://localhost:3000"
},
"headers":{
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Credentials": "true",
"Access-Control-Allow-Methods": "POST, OPTIONS, GET, PUT, DELETE",
"Access-Control-Allow-Headers": "Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization",
"Access-Control-Expose-Headers": "Content-Length",
"Content-Type": "application/json; charset=utf-8"
}
},
"appserver":{
"url": "http://app-server:8080",
"apikey": "ahbcgj"
},
"log":{
"adapter": "console",
"level": "performance",
"performance": true,
"performancethread": 1,
"file":{
"folder": "/docker-entrypoint-log/",
"file": "iac.log",
"maxlines":10000,
"maxsize": 1024},
"console":{},
"multiplefile":{
"folder": "/docker-entrypoint-log/",
"file": "iac.log",
"maxlines":10000,
"maxsize": 1024,
"maxfiles": 10
},
"documentdb":{
"conn": "mongodb://localhost:27017",
"db": "IAC_CACHE",
"collection": "logger"
}
},
"cache":{
"adapter": "memory",
"interval": 7200,
"objectinterval": 1800,
"testsessiontimeout": 900,
"redis":{
"key": "collectionname",
"conn": 6379,
"password": "",
"dbNum": 0,
"thePassWord": 3600
},
"memcache":{
"conn": "127.0.0.1:11211"
},
"file":{
"CachePath": "./cache",
"FileSuffix": ".cache",
"DirectoryLevel": 2,
"EmbedExpiry": 120
},
"documentdb":{
"conn": "mongodb://mongodb:27017",
"db": "IAC_CACHE",
"collection": "cache"
}
},
"translation":{
"autopopulate": true,
"cache": true
}
}