Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/docs/content/company/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ Services in Zerops require computing resources that are billed separately from y
</tbody>
</table>

:::note Daily Spending Control
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.
:::

## Additional Services

Enhance your deployment with these optional services to meet specific requirements for networking, storage, and data transfer.
Expand Down
10 changes: 7 additions & 3 deletions apps/docs/content/elasticsearch/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ Import configuration version:
- **Port**: 9200
- **Protocol**: HTTP only
- **Internal Access**: `http://{hostname}:9200`
- **Basic auth security**
- **User**: `elastic`
- **Password**: randomly generated during service creation, find under **Access Details** in service detail

:::note
When accessing from another service within the same project, use the service hostname as the connection address.
:::
#### Example
```sh
curl -u elastic:generatedpassword http://elasticsearch:9200
```

## Configuration Options

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/features/env-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You can define service-level variables in two ways:

#### 1. Build & Runtime Variables

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.
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.

```yaml title="zerops.yaml"
...
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/references/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ zCLI will be installed inside `/usr/bin` or `/usr/local/bin`.

### Windows

Execute following command in PowerShell:

```powershell
irm https://zerops.io/zcli/install.ps1 | iex
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ Configure how the balancer communicates with backend services:
<th className="w-fit whitespace-nowrap">Parameter</th>
<th className="w-fit whitespace-nowrap">Default</th>
<th className="w-fit whitespace-nowrap">Range</th>
<th className="w-full">Description</th>
</tr>
</thead>
<tbody>
Expand All @@ -193,42 +192,36 @@ Configure how the balancer communicates with backend services:
<td className="w-fit whitespace-nowrap">proxy_request_buffering</td>
<td className="w-fit whitespace-nowrap">off</td>
<td className="w-fit whitespace-nowrap">on/off</td>
<td className="w-full">Buffer client request bodies before forwarding</td>
</tr>
<tr>
<td className="w-fit font-semibold whitespace-nowrap">Enable buffering of responses from proxied server</td>
<td className="w-fit whitespace-nowrap">proxy_buffering</td>
<td className="w-fit whitespace-nowrap">on</td>
<td className="w-fit whitespace-nowrap">on/off</td>
<td className="w-full">Buffer responses from backend services</td>
</tr>
<tr>
<td className="w-fit font-semibold whitespace-nowrap">Size of the buffer used for reading the first part of the response</td>
<td className="w-fit whitespace-nowrap">proxy_buffer_size</td>
<td className="w-fit whitespace-nowrap">32k</td>
<td className="w-fit whitespace-nowrap">1k-256k</td>
<td className="w-full">Buffer size for first part of backend response</td>
</tr>
<tr>
<td className="w-fit font-semibold whitespace-nowrap">Number of buffers used for reading a response from the proxied server</td>
<td className="w-fit whitespace-nowrap">proxy_buffers_number</td>
<td className="w-fit whitespace-nowrap">4</td>
<td className="w-fit whitespace-nowrap">1-16</td>
<td className="w-full">Number of buffers for reading backend responses</td>
</tr>
<tr>
<td className="w-fit font-semibold whitespace-nowrap">Size of buffers for reading a response from the proxied server</td>
<td className="w-fit whitespace-nowrap">proxy_buffers_size</td>
<td className="w-fit whitespace-nowrap">256k</td>
<td className="w-fit whitespace-nowrap">1k-1m</td>
<td className="w-full">Size of buffers for reading backend responses</td>
</tr>
<tr>
<td className="w-fit font-semibold whitespace-nowrap">Size of buffers that can be busy sending response to the client</td>
<td className="w-fit whitespace-nowrap">proxy_busy_buffers_size</td>
<td className="w-fit whitespace-nowrap">256k</td>
<td className="w-fit whitespace-nowrap">1k-1m</td>
<td className="w-full">Size of buffers for sending response to client</td>
</tr>
</tbody>
</table>
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/references/networking/public-access.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ Zerops subdomains provide quick public access through `.zerops.app` addresses, i

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.

<GroupCards heading="Configure internal ports for your Runtime" items={languages} />

### Technical Implementation

When using Zerops subdomains:
Expand Down
23 changes: 12 additions & 11 deletions apps/docs/static/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1309,6 +1309,9 @@ Services in Zerops require computing resources that are billed separately from y
$0.05 per 0.5 GB / 30 days
Storage space for your applications and data

:::note Daily Spending Control
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.
:::
## Additional Services
Enhance your deployment with these optional services to meet specific requirements for networking, storage, and data transfer.

Expand Down Expand Up @@ -3703,9 +3706,13 @@ Import configuration version:
- **Port**: 9200
- **Protocol**: HTTP only
- **Internal Access**: `http://{hostname}:9200`
:::note
When accessing from another service within the same project, use the service hostname as the connection address.
:::
- **Basic auth security**
- **User**: `elastic`
- **Password**: randomly generated during service creation, find under **Access Details** in service detail
#### Example
```sh
curl -u elastic:generatedpassword http://elasticsearch:9200
```
## Configuration Options
### Plugin Management
You can configure Elasticsearch plugins using a comma-separated list in your environment secrets:
Expand Down Expand Up @@ -5637,7 +5644,7 @@ Variables that are specific to individual [services](/features/infrastructure#se
### User-Defined Variables
You can define service-level variables in two ways:
#### 1. Build & Runtime Variables
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.
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.
```yaml title="zerops.yaml"
...
build:
Expand Down Expand Up @@ -18583,6 +18590,7 @@ curl -L https://zerops.io/zcli/install.sh | sh
```
zCLI will be installed inside `/usr/bin` or `/usr/local/bin`.
### Windows
Execute following command in PowerShell:
```powershell
irm https://zerops.io/zcli/install.ps1 | iex
```
Expand Down Expand Up @@ -21556,43 +21564,36 @@ Configure how the balancer communicates with backend services:
Parameter
Default
Range
Description

Enable buffering of client request body
proxy_request_buffering
off
on/off
Buffer client request bodies before forwarding

Enable buffering of responses from proxied server
proxy_buffering
on
on/off
Buffer responses from backend services

Size of the buffer used for reading the first part of the response
proxy_buffer_size
32k
1k-256k
Buffer size for first part of backend response

Number of buffers used for reading a response from the proxied server
proxy_buffers_number
4
1-16
Number of buffers for reading backend responses

Size of buffers for reading a response from the proxied server
proxy_buffers_size
256k
1k-1m
Size of buffers for reading backend responses

Size of buffers that can be busy sending response to the client
proxy_busy_buffers_size
256k
1k-1m
Size of buffers for sending response to client

:::tip Recommendations
- **Real-time APIs**: Set `proxy_buffering` to off for lower latency
Expand Down
12 changes: 8 additions & 4 deletions apps/docs/static/llms-small.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3511,9 +3511,13 @@ Import configuration version:
- **Port**: 9200
- **Protocol**: HTTP only
- **Internal Access**: `http://{hostname}:9200`
:::note
When accessing from another service within the same project, use the service hostname as the connection address.
:::
- **Basic auth security**
- **User**: `elastic`
- **Password**: randomly generated during service creation, find under **Access Details** in service detail
#### Example
```sh
curl -u elastic:generatedpassword http://elasticsearch:9200
```
## Configuration Options
### Plugin Management
You can configure Elasticsearch plugins using a comma-separated list in your environment secrets:
Expand Down Expand Up @@ -5445,7 +5449,7 @@ Variables that are specific to individual [services](/features/infrastructure#se
### User-Defined Variables
You can define service-level variables in two ways:
#### 1. Build & Runtime Variables
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.
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.
```yaml title="zerops.yaml"
...
build:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dependencies": {
"autoprefixer": "10.4.14",
"eslint": "^8.36.0",
"eslint-config-docs": "0.0.0",
"eslint-plugin-prettier": "5.2.3",
"postcss": "8.4.31",
"prettier": "3.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"next": "latest"
"next": "15.2.3"
},
"devDependencies": {
"eslint": "^8.36.0"
Expand Down
Loading