gingee-cli 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gingee-cli",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "The Gingee Command Line Interface (CLI), official command line tool for creating and managing Gingee projects.",
5
5
  "main": "index.js",
6
6
  "bin": {
Binary file
@@ -1,34 +1,158 @@
1
- {
2
- "server": {
3
- "https": {
4
- "enabled": false,
5
- "port": 443
6
- },
7
- "http": {
8
- "enabled": true,
9
- "port": 7070
10
- }
11
- },
12
- "content_encoding": {
13
- "enabled": true
14
- },
15
- "box": {
16
- "allowed_modules": []
17
- },
18
- "web_root": "./web",
19
- "cache": {
20
- "provider": "memory"
21
- },
22
- "default_app": "glade",
23
- "privileged_apps": [
24
- "glide",
25
- "glade"
26
- ],
27
- "logging": {
28
- "level": "error",
29
- "rotation": {
30
- "period_days": 7,
31
- "max_size_mb": 50
32
- }
33
- }
34
- }
1
+ {
2
+ "server": {
3
+ "https": {
4
+ "enabled": false,
5
+ "port": 7443,
6
+ "key_file": "settings/ssl/key.pem",
7
+ "cert_file": "settings/ssl/cert.pem"
8
+ },
9
+ "http": {
10
+ "enabled": true,
11
+ "port": 7070
12
+ }
13
+ },
14
+ "content_encoding": {
15
+ "enabled": true,
16
+ "size_threshold": 1024
17
+ },
18
+ "box": {
19
+ "allowed_modules": [],
20
+ "local_modules": [],
21
+ "allow_dynamic_code": false
22
+ },
23
+ "web_root": "./web",
24
+ "cache": {
25
+ "provider": "memory",
26
+ "prefix": "gingee:",
27
+ "redis": {
28
+ "url": null,
29
+ "host": "127.0.0.1",
30
+ "port": 6379,
31
+ "password": null,
32
+ "db": 0
33
+ }
34
+ },
35
+ "default_app": "glade",
36
+ "privileged_apps": [
37
+ "glide",
38
+ "glade"
39
+ ],
40
+ "logging": {
41
+ "level": "error",
42
+ "rotation": {
43
+ "period_days": 7,
44
+ "max_size_mb": 50
45
+ }
46
+ },
47
+ "scheduler": {
48
+ "enabled": false,
49
+ "timezone": "UTC",
50
+ "coordination": {
51
+ "driver": "none",
52
+ "strategy": "tick",
53
+ "lock_ttl_ms": 300000
54
+ },
55
+ "redis": {
56
+ "url": null,
57
+ "host": "127.0.0.1",
58
+ "port": 6379,
59
+ "password": null,
60
+ "db": 0,
61
+ "key_prefix": "gingee:scheduler:"
62
+ }
63
+ },
64
+ "limits": {
65
+ "request_timeout_ms": 30000,
66
+ "request_timeout_stream_ms": 300000,
67
+ "stream_idle_timeout_ms": 60000,
68
+ "outbound_timeout_ms": 15000,
69
+ "max_concurrent_requests": 100,
70
+ "max_concurrent_requests_per_app": 25,
71
+ "max_concurrent_outbound": 50
72
+ },
73
+ "egress": {
74
+ "mode": "protected",
75
+ "https_only": false,
76
+ "dns_check": true,
77
+ "max_redirects": 3,
78
+ "block_private": true,
79
+ "block_loopback": true,
80
+ "block_link_local": true,
81
+ "block_metadata": true,
82
+ "allow_hosts": [],
83
+ "allow_cidrs": [],
84
+ "deny_hosts": [],
85
+ "deny_cidrs": []
86
+ },
87
+ "secrets": {
88
+ "load_dotenv": false,
89
+ "required": true,
90
+ "file_roots": [
91
+ "./settings/secrets",
92
+ "/run/secrets"
93
+ ]
94
+ },
95
+ "metrics": {
96
+ "enabled": true,
97
+ "path": "/metrics",
98
+ "allow_from": [
99
+ "127.0.0.1",
100
+ "::1",
101
+ "::ffff:127.0.0.1"
102
+ ],
103
+ "bearer_token": null
104
+ },
105
+ "audit": {
106
+ "enabled": true,
107
+ "path": "./logs/audit.jsonl"
108
+ },
109
+ "isolation": {
110
+ "mode": "off",
111
+ "default": "inprocess",
112
+ "apps": [],
113
+ "groups": {},
114
+ "worker_ready_timeout_ms": 15000,
115
+ "request_timeout_ms": 120000,
116
+ "auto_restart": true,
117
+ "restart_max": 10,
118
+ "restart_delay_ms": 500,
119
+ "restart_backoff_max_ms": 30000,
120
+ "restart_stable_ms": 60000
121
+ },
122
+ "websockets": {
123
+ "enabled": true,
124
+ "max_connections": 10000,
125
+ "max_connections_per_app": 2000,
126
+ "max_message_bytes": 65536,
127
+ "idle_timeout_ms": 300000,
128
+ "heartbeat_ms": 30000,
129
+ "default_path": "/ws",
130
+ "fanout": {
131
+ "driver": "none"
132
+ },
133
+ "redis": {
134
+ "url": null,
135
+ "host": "127.0.0.1",
136
+ "port": 6379,
137
+ "password": null,
138
+ "db": 0,
139
+ "key_prefix": "gingee:ws:"
140
+ }
141
+ },
142
+ "queue": {
143
+ "enabled": true,
144
+ "driver": "memory",
145
+ "concurrency": 5,
146
+ "default_attempts": 3,
147
+ "default_backoff_ms": 1000,
148
+ "jobs_dir": "jobs",
149
+ "redis": {
150
+ "url": null,
151
+ "host": "127.0.0.1",
152
+ "port": 6379,
153
+ "password": null,
154
+ "db": 0,
155
+ "key_prefix": "gingee:queue:"
156
+ }
157
+ }
158
+ }
@@ -7,7 +7,7 @@
7
7
  "dev": "nodemon start.js"
8
8
  },
9
9
  "dependencies": {
10
- "gingee": "^1.5.0"
10
+ "gingee": "^1.5.2"
11
11
  },
12
12
  "devDependencies": {
13
13
  "nodemon": "^3.0.0"