Skip to content

Commit 747bc8d

Browse files
committed
little fixes
1 parent f1d1fef commit 747bc8d

File tree

11 files changed

+85
-78
lines changed

11 files changed

+85
-78
lines changed

apps/docs/content/company/pricing.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ Services in Zerops require computing resources that are billed separately from y
7373
</tbody>
7474
</table>
7575

76+
:::note Daily Spending Control
77+
You can set daily spending limits in GUI for your project to control costs and avoid unexpected charges. This provides an alternative to configuring automatic resource scaling ranges while keeping your services running optimally.
78+
:::
79+
7680
## Additional Services
7781

7882
Enhance your deployment with these optional services to meet specific requirements for networking, storage, and data transfer.

apps/docs/content/elasticsearch/overview.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ Import configuration version:
2929
- **Port**: 9200
3030
- **Protocol**: HTTP only
3131
- **Internal Access**: `http://{hostname}:9200`
32+
- **Basic auth security**
33+
- **User**: `elastic`
34+
- **Password**: randomly generated during service creation, find under **Access Details** in service detail
3235

33-
:::note
34-
When accessing from another service within the same project, use the service hostname as the connection address.
35-
:::
36+
#### Example
37+
```sh
38+
curl -u elastic:generatedpassword http://elasticsearch:9200
39+
```
3640

3741
## Configuration Options
3842

apps/docs/content/features/env-variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can define service-level variables in two ways:
1717

1818
#### 1. Build & Runtime Variables
1919

20-
These variables are defined with `envVariables` attribute in the `build` or `run` section of your [zerops.yaml](/zerops-yaml/specification) file and are accessible within their respective containers.
20+
These variables are defined with `envVariables` attribute in the [build](/zerops-yaml/specification#envvariables-) or [run](/zerops-yaml/specification#envvariables--1) section of your `zerops.yaml` file and are accessible within their respective containers.
2121

2222
```yaml title="zerops.yaml"
2323
...

apps/docs/content/references/cli.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ zCLI will be installed inside `/usr/bin` or `/usr/local/bin`.
3434

3535
### Windows
3636

37+
Execute following command in PowerShell:
38+
3739
```powershell
3840
irm https://zerops.io/zcli/install.ps1 | iex
3941
```

apps/docs/content/references/networking/l7-balancer-config.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ Configure how the balancer communicates with backend services:
184184
<th className="w-fit whitespace-nowrap">Parameter</th>
185185
<th className="w-fit whitespace-nowrap">Default</th>
186186
<th className="w-fit whitespace-nowrap">Range</th>
187-
<th className="w-full">Description</th>
188187
</tr>
189188
</thead>
190189
<tbody>
@@ -193,42 +192,36 @@ Configure how the balancer communicates with backend services:
193192
<td className="w-fit whitespace-nowrap">proxy_request_buffering</td>
194193
<td className="w-fit whitespace-nowrap">off</td>
195194
<td className="w-fit whitespace-nowrap">on/off</td>
196-
<td className="w-full">Buffer client request bodies before forwarding</td>
197195
</tr>
198196
<tr>
199197
<td className="w-fit font-semibold whitespace-nowrap">Enable buffering of responses from proxied server</td>
200198
<td className="w-fit whitespace-nowrap">proxy_buffering</td>
201199
<td className="w-fit whitespace-nowrap">on</td>
202200
<td className="w-fit whitespace-nowrap">on/off</td>
203-
<td className="w-full">Buffer responses from backend services</td>
204201
</tr>
205202
<tr>
206203
<td className="w-fit font-semibold whitespace-nowrap">Size of the buffer used for reading the first part of the response</td>
207204
<td className="w-fit whitespace-nowrap">proxy_buffer_size</td>
208205
<td className="w-fit whitespace-nowrap">32k</td>
209206
<td className="w-fit whitespace-nowrap">1k-256k</td>
210-
<td className="w-full">Buffer size for first part of backend response</td>
211207
</tr>
212208
<tr>
213209
<td className="w-fit font-semibold whitespace-nowrap">Number of buffers used for reading a response from the proxied server</td>
214210
<td className="w-fit whitespace-nowrap">proxy_buffers_number</td>
215211
<td className="w-fit whitespace-nowrap">4</td>
216212
<td className="w-fit whitespace-nowrap">1-16</td>
217-
<td className="w-full">Number of buffers for reading backend responses</td>
218213
</tr>
219214
<tr>
220215
<td className="w-fit font-semibold whitespace-nowrap">Size of buffers for reading a response from the proxied server</td>
221216
<td className="w-fit whitespace-nowrap">proxy_buffers_size</td>
222217
<td className="w-fit whitespace-nowrap">256k</td>
223218
<td className="w-fit whitespace-nowrap">1k-1m</td>
224-
<td className="w-full">Size of buffers for reading backend responses</td>
225219
</tr>
226220
<tr>
227221
<td className="w-fit font-semibold whitespace-nowrap">Size of buffers that can be busy sending response to the client</td>
228222
<td className="w-fit whitespace-nowrap">proxy_busy_buffers_size</td>
229223
<td className="w-fit whitespace-nowrap">256k</td>
230224
<td className="w-fit whitespace-nowrap">1k-1m</td>
231-
<td className="w-full">Size of buffers for sending response to client</td>
232225
</tr>
233226
</tbody>
234227
</table>

apps/docs/content/references/networking/public-access.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ Zerops subdomains provide quick public access through `.zerops.app` addresses, i
5252

5353
Once enabled, Zerops assigns a unique subdomain for your application. If you've defined multiple [internal ports](/zerops-yaml/specification#ports-) with HTTP support in your `zerops.yaml`, each port receives its own unique `.zerops.app` subdomain.
5454

55-
<GroupCards heading="Configure internal ports for your Runtime" items={languages} />
56-
5755
### Technical Implementation
5856

5957
When using Zerops subdomains:

apps/docs/static/llms-full.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,9 @@ Services in Zerops require computing resources that are billed separately from y
13091309
$0.05 per 0.5 GB / 30 days
13101310
Storage space for your applications and data
13111311

1312+
:::note Daily Spending Control
1313+
You can set daily spending limits in GUI for your project to control costs and avoid unexpected charges. This provides an alternative to configuring automatic resource scaling ranges while keeping your services running optimally.
1314+
:::
13121315
## Additional Services
13131316
Enhance your deployment with these optional services to meet specific requirements for networking, storage, and data transfer.
13141317

@@ -3703,9 +3706,13 @@ Import configuration version:
37033706
- **Port**: 9200
37043707
- **Protocol**: HTTP only
37053708
- **Internal Access**: `http://{hostname}:9200`
3706-
:::note
3707-
When accessing from another service within the same project, use the service hostname as the connection address.
3708-
:::
3709+
- **Basic auth security**
3710+
- **User**: `elastic`
3711+
- **Password**: randomly generated during service creation, find under **Access Details** in service detail
3712+
#### Example
3713+
```sh
3714+
curl -u elastic:generatedpassword http://elasticsearch:9200
3715+
```
37093716
## Configuration Options
37103717
### Plugin Management
37113718
You can configure Elasticsearch plugins using a comma-separated list in your environment secrets:
@@ -5637,7 +5644,7 @@ Variables that are specific to individual [services](/features/infrastructure#se
56375644
### User-Defined Variables
56385645
You can define service-level variables in two ways:
56395646
#### 1. Build & Runtime Variables
5640-
These variables are defined with `envVariables` attribute in the `build` or `run` section of your [zerops.yaml](/zerops-yaml/specification) file and are accessible within their respective containers.
5647+
These variables are defined with `envVariables` attribute in the [build](/zerops-yaml/specification#envvariables-) or [run](/zerops-yaml/specification#envvariables--1) section of your `zerops.yaml` file and are accessible within their respective containers.
56415648
```yaml title="zerops.yaml"
56425649
...
56435650
build:
@@ -18583,6 +18590,7 @@ curl -L https://zerops.io/zcli/install.sh | sh
1858318590
```
1858418591
zCLI will be installed inside `/usr/bin` or `/usr/local/bin`.
1858518592
### Windows
18593+
Execute following command in PowerShell:
1858618594
```powershell
1858718595
irm https://zerops.io/zcli/install.ps1 | iex
1858818596
```
@@ -21556,43 +21564,36 @@ Configure how the balancer communicates with backend services:
2155621564
Parameter
2155721565
Default
2155821566
Range
21559-
Description
2156021567

2156121568
Enable buffering of client request body
2156221569
proxy_request_buffering
2156321570
off
2156421571
on/off
21565-
Buffer client request bodies before forwarding
2156621572

2156721573
Enable buffering of responses from proxied server
2156821574
proxy_buffering
2156921575
on
2157021576
on/off
21571-
Buffer responses from backend services
2157221577

2157321578
Size of the buffer used for reading the first part of the response
2157421579
proxy_buffer_size
2157521580
32k
2157621581
1k-256k
21577-
Buffer size for first part of backend response
2157821582

2157921583
Number of buffers used for reading a response from the proxied server
2158021584
proxy_buffers_number
2158121585
4
2158221586
1-16
21583-
Number of buffers for reading backend responses
2158421587

2158521588
Size of buffers for reading a response from the proxied server
2158621589
proxy_buffers_size
2158721590
256k
2158821591
1k-1m
21589-
Size of buffers for reading backend responses
2159021592

2159121593
Size of buffers that can be busy sending response to the client
2159221594
proxy_busy_buffers_size
2159321595
256k
2159421596
1k-1m
21595-
Size of buffers for sending response to client
2159621597

2159721598
:::tip Recommendations
2159821599
- **Real-time APIs**: Set `proxy_buffering` to off for lower latency

apps/docs/static/llms-small.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3511,9 +3511,13 @@ Import configuration version:
35113511
- **Port**: 9200
35123512
- **Protocol**: HTTP only
35133513
- **Internal Access**: `http://{hostname}:9200`
3514-
:::note
3515-
When accessing from another service within the same project, use the service hostname as the connection address.
3516-
:::
3514+
- **Basic auth security**
3515+
- **User**: `elastic`
3516+
- **Password**: randomly generated during service creation, find under **Access Details** in service detail
3517+
#### Example
3518+
```sh
3519+
curl -u elastic:generatedpassword http://elasticsearch:9200
3520+
```
35173521
## Configuration Options
35183522
### Plugin Management
35193523
You can configure Elasticsearch plugins using a comma-separated list in your environment secrets:
@@ -5445,7 +5449,7 @@ Variables that are specific to individual [services](/features/infrastructure#se
54455449
### User-Defined Variables
54465450
You can define service-level variables in two ways:
54475451
#### 1. Build & Runtime Variables
5448-
These variables are defined with `envVariables` attribute in the `build` or `run` section of your [zerops.yaml](/zerops-yaml/specification) file and are accessible within their respective containers.
5452+
These variables are defined with `envVariables` attribute in the [build](/zerops-yaml/specification#envvariables-) or [run](/zerops-yaml/specification#envvariables--1) section of your `zerops.yaml` file and are accessible within their respective containers.
54495453
```yaml title="zerops.yaml"
54505454
...
54515455
build:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"dependencies": {
2121
"autoprefixer": "10.4.14",
2222
"eslint": "^8.36.0",
23+
"eslint-config-docs": "0.0.0",
2324
"eslint-plugin-prettier": "5.2.3",
2425
"postcss": "8.4.31",
2526
"prettier": "3.3.3",

packages/eslint-config-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"eslint-plugin-markdown": "^3.0.0",
1717
"eslint-plugin-prettier": "^4.2.1",
1818
"eslint-plugin-react": "^7.32.2",
19-
"next": "latest"
19+
"next": "15.2.3"
2020
},
2121
"devDependencies": {
2222
"eslint": "^8.36.0"

0 commit comments

Comments
 (0)