gingee-cli 1.5.0 → 1.5.1

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.1",
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,157 @@
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
+ },
17
+ "box": {
18
+ "allowed_modules": [],
19
+ "local_modules": [],
20
+ "allow_dynamic_code": false
21
+ },
22
+ "web_root": "./web",
23
+ "cache": {
24
+ "provider": "memory",
25
+ "prefix": "gingee:",
26
+ "redis": {
27
+ "url": null,
28
+ "host": "127.0.0.1",
29
+ "port": 6379,
30
+ "password": null,
31
+ "db": 0
32
+ }
33
+ },
34
+ "default_app": "glade",
35
+ "privileged_apps": [
36
+ "glide",
37
+ "glade"
38
+ ],
39
+ "logging": {
40
+ "level": "error",
41
+ "rotation": {
42
+ "period_days": 7,
43
+ "max_size_mb": 50
44
+ }
45
+ },
46
+ "scheduler": {
47
+ "enabled": false,
48
+ "timezone": "UTC",
49
+ "coordination": {
50
+ "driver": "none",
51
+ "strategy": "tick",
52
+ "lock_ttl_ms": 300000
53
+ },
54
+ "redis": {
55
+ "url": null,
56
+ "host": "127.0.0.1",
57
+ "port": 6379,
58
+ "password": null,
59
+ "db": 0,
60
+ "key_prefix": "gingee:scheduler:"
61
+ }
62
+ },
63
+ "limits": {
64
+ "request_timeout_ms": 30000,
65
+ "request_timeout_stream_ms": 300000,
66
+ "stream_idle_timeout_ms": 60000,
67
+ "outbound_timeout_ms": 15000,
68
+ "max_concurrent_requests": 100,
69
+ "max_concurrent_requests_per_app": 25,
70
+ "max_concurrent_outbound": 50
71
+ },
72
+ "egress": {
73
+ "mode": "protected",
74
+ "https_only": false,
75
+ "dns_check": true,
76
+ "max_redirects": 3,
77
+ "block_private": true,
78
+ "block_loopback": true,
79
+ "block_link_local": true,
80
+ "block_metadata": true,
81
+ "allow_hosts": [],
82
+ "allow_cidrs": [],
83
+ "deny_hosts": [],
84
+ "deny_cidrs": []
85
+ },
86
+ "secrets": {
87
+ "load_dotenv": false,
88
+ "required": true,
89
+ "file_roots": [
90
+ "./settings/secrets",
91
+ "/run/secrets"
92
+ ]
93
+ },
94
+ "metrics": {
95
+ "enabled": true,
96
+ "path": "/metrics",
97
+ "allow_from": [
98
+ "127.0.0.1",
99
+ "::1",
100
+ "::ffff:127.0.0.1"
101
+ ],
102
+ "bearer_token": null
103
+ },
104
+ "audit": {
105
+ "enabled": true,
106
+ "path": "./logs/audit.jsonl"
107
+ },
108
+ "isolation": {
109
+ "mode": "off",
110
+ "default": "inprocess",
111
+ "apps": [],
112
+ "groups": {},
113
+ "worker_ready_timeout_ms": 15000,
114
+ "request_timeout_ms": 120000,
115
+ "auto_restart": true,
116
+ "restart_max": 10,
117
+ "restart_delay_ms": 500,
118
+ "restart_backoff_max_ms": 30000,
119
+ "restart_stable_ms": 60000
120
+ },
121
+ "websockets": {
122
+ "enabled": true,
123
+ "max_connections": 10000,
124
+ "max_connections_per_app": 2000,
125
+ "max_message_bytes": 65536,
126
+ "idle_timeout_ms": 300000,
127
+ "heartbeat_ms": 30000,
128
+ "default_path": "/ws",
129
+ "fanout": {
130
+ "driver": "none"
131
+ },
132
+ "redis": {
133
+ "url": null,
134
+ "host": "127.0.0.1",
135
+ "port": 6379,
136
+ "password": null,
137
+ "db": 0,
138
+ "key_prefix": "gingee:ws:"
139
+ }
140
+ },
141
+ "queue": {
142
+ "enabled": true,
143
+ "driver": "memory",
144
+ "concurrency": 5,
145
+ "default_attempts": 3,
146
+ "default_backoff_ms": 1000,
147
+ "jobs_dir": "jobs",
148
+ "redis": {
149
+ "url": null,
150
+ "host": "127.0.0.1",
151
+ "port": 6379,
152
+ "password": null,
153
+ "db": 0,
154
+ "key_prefix": "gingee:queue:"
155
+ }
156
+ }
157
+ }
@@ -7,7 +7,7 @@
7
7
  "dev": "nodemon start.js"
8
8
  },
9
9
  "dependencies": {
10
- "gingee": "^1.5.0"
10
+ "gingee": "^1.5.1"
11
11
  },
12
12
  "devDependencies": {
13
13
  "nodemon": "^3.0.0"