diff --git a/apps/docs/.content.eslintrc.js b/apps/docs/.content.eslintrc.js
index ba67e1f0..be776f64 100644
--- a/apps/docs/.content.eslintrc.js
+++ b/apps/docs/.content.eslintrc.js
@@ -1,4 +1,9 @@
module.exports = {
root: true,
extends: ['docs/content'],
+ rules: {
+ 'quotes': ['error', 'single'],
+ 'semi': ['error', 'always'],
+ 'max-len': ['error', { code: 80, ignoreComments: true }]
+ }
};
diff --git a/apps/docs/content/bun/faq.mdx b/apps/docs/content/bun/faq.mdx
deleted file mode 100644
index 7f57f37b..00000000
--- a/apps/docs/content/bun/faq.mdx
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: Frequently Asked Questions
-description: Get quick answers to your related questions about Bun from frequently asked questions by people at Zerops.
----
-
-import { FAQ, FAQItem } from '/src/components/Faq';
-
-
Specifies the service type and version.
- See what [Bun service types](/references/importyml/type-list#runtime-services) are currently supported. + See what [Bun service types](/references/import-yaml/type-list#runtime-services) are currently supported. |
Bun service always starts with the minimal resources.
@@ -185,7 +182,7 @@ The scale up of RAM or disk is immediate. The scale up of CPU is configured to b
The **minimum step** for the vertical scaling is
- 1 CPU core
-- 0.25 GB RAM
+- 0.125 GB RAM
- 0.5 GB disk
When the application is under a heavy load and needs to scale up faster, the scaling step will increase automatically.
diff --git a/apps/docs/content/bun/how-to/shared-storage.mdx b/apps/docs/content/bun/how-to/shared-storage.mdx
index 4618022a..cd3ea9c7 100644
--- a/apps/docs/content/bun/how-to/shared-storage.mdx
+++ b/apps/docs/content/bun/how-to/shared-storage.mdx
@@ -37,15 +37,15 @@ zCLI is the Zerops command-line tool. To create a new Bun service via the comman
Zerops uses a yaml format to describe the project infrastructure.
-#### description.yml format
+#### description.yaml format
-[Read the basics](bun/how-to/create#create-a-project-description-file) how to define the Bun service using the description.yml.
+[Read the basics](bun/how-to/create#create-a-project-description-file) how to define the Bun service using the description.yaml.
#### Example with a shared storage
-Create a directory `my-project`. Create an `description.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project`. Create an `description.yaml` file inside the `my-project` directory with following content:
-```yml
+```yaml
# basic project data
project:
# project name
@@ -91,4 +91,4 @@ The mount attribute accepts an array of shared storage names you want to mount t
### Create a project with a Bun service and a shared storage
-Follow the article [How to create a project based on the description.yml](bun/how-to/create#create-a-project-based-on-the-descriptionyml).
+Follow the article [How to create a project based on the description.yaml](bun/how-to/create#create-a-project-based-on-the-descriptionyaml).
diff --git a/apps/docs/content/bun/how-to/trigger-pipeline.mdx b/apps/docs/content/bun/how-to/trigger-pipeline.mdx
index 6a0d303a..8d887008 100644
--- a/apps/docs/content/bun/how-to/trigger-pipeline.mdx
+++ b/apps/docs/content/bun/how-to/trigger-pipeline.mdx
@@ -20,7 +20,7 @@ Integrate Zerops to your GitHub or GitLab repository and configure the automatic
Follow these steps:
-1. Add [zerops.yml](bun/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository.
+1. Add [zerops.yaml](bun/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository.
2. Connect your GitHub repository or connect your GitLab repository
Then each time you create a new tag or push to a specific branch, depending on the configuration, GitHub or GitLab will initiate a new build & deploy pipeline.
@@ -35,7 +35,7 @@ Then each time you create a new tag or push to a specific branch, depending on t
Resource | +Price | +Description | +
---|---|---|
Shared CPU | +$0.60 per CPU / 30 days | +Economical option for most workloads with good performance | +
Dedicated CPU | +$6.00 per CPU / 30 days | +Reserved CPU cores for predictable performance | +
RAM | +$0.75 per 0.25 GB / 30 days | +Memory allocated to your services | +
Disk Space | +$0.05 per 0.5 GB / 30 days | +Storage space for your applications and data | +
Service | +Price | +Description | +
---|---|---|
Dedicated IPv4 | +$3.00 per 30 days | +Exclusive IPv4 address for your project (instead of shared) | +
Object Storage | +$0.01 per GB / 30 days | +Scalable storage for files, backups, and static assets | +
Item | +Price | +Description | +
---|---|---|
Extra Egress | +$0.02 per GB | +Data transfer out of your project beyond plan limits | +
Extra Backup Space | +$0.50 per 5 GB | +Additional storage for automatic, encrypted backups | +
Extra Build Time | +$0.50 per 15 hours | +Additional time for building and deploying applications | +
Specifies the service type and version.
- See what [Deno service types](/references/importyml/type-list#runtime-services) are currently supported. + See what [Deno service types](/references/import-yaml/type-list#runtime-services) are currently supported. |
Deno service always starts with the minimal resources.
@@ -185,7 +182,7 @@ The scale up of RAM or disk is immediate. The scale up of CPU is configured to b
The **minimum step** for the vertical scaling is
- 1 CPU core
-- 0.25 GB RAM
+- 0.125 GB RAM
- 0.5 GB disk
When the application is under a heavy load and needs to scale up faster, the scaling step will increase automatically.
diff --git a/apps/docs/content/deno/how-to/shared-storage.mdx b/apps/docs/content/deno/how-to/shared-storage.mdx
index 72f5a0d3..1789b5c7 100644
--- a/apps/docs/content/deno/how-to/shared-storage.mdx
+++ b/apps/docs/content/deno/how-to/shared-storage.mdx
@@ -37,15 +37,15 @@ zCLI is the Zerops command-line tool. To create a new Deno service via the comma
Zerops uses a yaml format to describe the project infrastructure.
-#### description.yml format
+#### description.yaml format
-[Read the basics](/deno/how-to/create#create-a-project-description-file) how to define the Deno service using the description.yml.
+[Read the basics](/deno/how-to/create#create-a-project-description-file) how to define the Deno service using the description.yaml.
#### Example with a shared storage
-Create a directory `my-project`. Create an `description.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project`. Create an `description.yaml` file inside the `my-project` directory with following content:
-```yml
+```yaml
# basic project data
project:
# project name
@@ -91,4 +91,4 @@ The mount attribute accepts an array of shared storage names you want to mount t
### Create a project with a Deno service and a shared storage
-Follow the article [How to create a project based on the description.yml](/deno/how-to/create#create-a-project-based-on-the-descriptionyml).
+Follow the article [How to create a project based on the description.yaml](/deno/how-to/create#create-a-project-based-on-the-descriptionyaml).
diff --git a/apps/docs/content/deno/how-to/trigger-pipeline.mdx b/apps/docs/content/deno/how-to/trigger-pipeline.mdx
index b1ee59f7..200f99eb 100644
--- a/apps/docs/content/deno/how-to/trigger-pipeline.mdx
+++ b/apps/docs/content/deno/how-to/trigger-pipeline.mdx
@@ -20,7 +20,7 @@ Integrate Zerops to your GitHub or GitLab repository and configure the automatic
Follow these steps:
-1. Add [zerops.yml](/deno/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository.
+1. Add [zerops.yaml](/deno/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository.
2. Connect your GitHub repository or connect your GitLab repository
Then each time you create a new tag or push to a specific branch, depending on the configuration, GitHub or GitLab will initiate a new build & deploy pipeline.
@@ -35,7 +35,7 @@ Then each time you create a new tag or push to a specific branch, depending on t
Resources Type | -Minimum resource | -Maximum resource | -
---|---|---|
CPU cores | -1 | -5 | -
RAM | -0.25 GB | -32 GB | -
Disk | -1 GB | -100 GB | -
Specifies the service type and version. - See what [.NET service types](/references/importyml/type-list#runtime-services) are currently supported. + See what [.NET service types](/references/import-yaml/type-list#runtime-services) are currently supported. |
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-
+Disk
- 1 GB
- 100 GB
-
Specifies the service type and version.
- See what [Elixir service types](/references/importyml/type-list#runtime-services) are currently supported. + See what [Elixir service types](/references/import-yaml/type-list#runtime-services) are currently supported. |
Elixir service always starts with the minimal resources.
@@ -185,7 +182,7 @@ The scale up of RAM or disk is immediate. The scale up of CPU is configured to b
The **minimum step** for the vertical scaling is
- 1 CPU core
-- 0.25 GB RAM
+- 0.125 GB RAM
- 0.5 GB disk
When the application is under a heavy load and needs to scale up faster, the scaling step will increase automatically.
diff --git a/apps/docs/content/elixir/how-to/shared-storage.mdx b/apps/docs/content/elixir/how-to/shared-storage.mdx
index 4f980420..d4deaaba 100644
--- a/apps/docs/content/elixir/how-to/shared-storage.mdx
+++ b/apps/docs/content/elixir/how-to/shared-storage.mdx
@@ -37,15 +37,15 @@ zCLI is the Zerops command-line tool. To create a new Elixir service via the com
Zerops uses a yaml format to describe the project infrastructure.
-#### description.yml format
+#### description.yaml format
-[Read the basics](/elixir/how-to/create#create-a-project-description-file) how to define the Elixir service using the description.yml.
+[Read the basics](/elixir/how-to/create#create-a-project-description-file) how to define the Elixir service using the description.yaml.
#### Example with a shared storage
-Create a directory `my-project`. Create an `description.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project`. Create an `description.yaml` file inside the `my-project` directory with following content:
-```yml
+```yaml
# basic project data
project:
# project name
@@ -91,4 +91,4 @@ The mount attribute accepts an array of shared storage names you want to mount t
### Create a project with a Elixir service and a shared storage
-Follow the article [How to create a project based on the description.yml](/elixir/how-to/create#create-a-project-based-on-the-descriptionyml).
+Follow the article [How to create a project based on the description.yaml](/elixir/how-to/create#create-a-project-based-on-the-descriptionyaml).
diff --git a/apps/docs/content/elixir/how-to/trigger-pipeline.mdx b/apps/docs/content/elixir/how-to/trigger-pipeline.mdx
index aa64f3af..ff5848bb 100644
--- a/apps/docs/content/elixir/how-to/trigger-pipeline.mdx
+++ b/apps/docs/content/elixir/how-to/trigger-pipeline.mdx
@@ -20,7 +20,7 @@ Integrate Zerops to your GitHub or GitLab repository and configure the automatic
Follow these steps:
-1. Add [zerops.yml](/elixir/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository.
+1. Add [zerops.yaml](/elixir/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository.
2. Connect your GitHub repository or connect your GitLab repository
Then each time you create a new tag or push to a specific branch, depending on the configuration, GitHub or GitLab will initiate a new build & deploy pipeline.
@@ -35,7 +35,7 @@ Then each time you create a new tag or push to a specific branch, depending on t
+
+
Field name | +Allowed values | +
---|---|
Minute | +0-59 | +
Hour | +0-23 | +
Day | +1-31 | +
Month | +1-12 | +
Week Day | +0–7; both 0 and 7 represent Sunday | +
+
+
Region | +Location | +Coverage Area | +|
---|---|---|---|
EU | +CZ | +Prague, Czech Republic | +Primary European coverage + failover for all regions | +
DE | +Falkenstein, Germany | +||
UK | +London, United Kingdom | +UK and surrounding areas | +|
AU | +Sydney, Australia | +Australia and Oceania | +|
SG | +Singapore, Singapore | +Southeast Asia | +|
CA | +Beauharnois, Canada | +North America | +
Pattern | +Description | +Example | +
---|---|---|
`/*` | +Purges all content | +Useful after major updates | +
`/images/*` | +Purges all content in a directory | +Clear all cached images | +
`/css/main.css$` | +Purges a specific file | +Update a single CSS file | +
`/2023*` | +Purges content starting with pattern | +Clear content with date prefix | +
+ | Lightweight Core | +Serious Core | +
---|---|---|
Infrastructure | +Single container (limited redundancy) | +Multi-container (highly available) | +
SSL Termination | +||
Automatic Certificate Generation | +||
Proxy / Load Balancer | +||
IPv6 Address | +||
Build Time | +15 hours | +150 hours | +
Backup Space | +5 GB | +25 GB | +
Egress | +100 GB | +3 TB | +
Failover Protection | +Limited | +Comprehensive | +
zcli service deploy
command instead.
@@ -181,8 +181,8 @@ The time limit for the whole build pipeline is **1 hour**. After 1 hour, Zerops
### Customize the build environment
-Each runtime service in Zerops has a default build environment with a major version based on the [build.base](/zerops-yml/specification#base-) attribute in `zerops.yml`.
-To install additional packages or tools add one or more [build.prepareCommands](/zerops-yml/specification#preparecommands-) commands to your `zerops.yml`.
+Each runtime service in Zerops has a default build environment with a major version based on the [build.base](/zerops-yaml/specification#base-) attribute in `zerops.yaml`.
+To install additional packages or tools add one or more [build.prepareCommands](/zerops-yaml/specification#preparecommands-) commands to your `zerops.yaml`.
Learn more about what is included in the default build environment:
@@ -227,7 +227,7 @@ Zerops performs following actions for each new container:
Services with multiple containers are deployed in parallel.
:::info
-If your application needs to be initialized in each runtime container, add [init commands](/go/how-to/build-pipeline#initcommands) to `zerops.yml`.
+If your application needs to be initialized in each runtime container, add [init commands](/go/how-to/build-pipeline#initcommands) to `zerops.yaml`.
:::
:::caution
@@ -245,7 +245,7 @@ The old containers are then removed from the project balancer so they don't rece
### Readiness checks
-If your application isn't ready to handle requests right after it is started via the [start command](/nodejs/how-to/build-pipeline#start), configure a [readiness check](/nodejs/how-to/build-pipeline#readiness-check) in your `zerops.yml`.
+If your application isn't ready to handle requests right after it is started via the [start command](/nodejs/how-to/build-pipeline#start), configure a [readiness check](/nodejs/how-to/build-pipeline#readiness-check) in your `zerops.yaml`.
If the readiness check is defined, Zerops will:
@@ -266,12 +266,12 @@ Read the [runtime log](/nodejs/how-to/logs#runtime-log) to troubleshoot failed r
## Customize the runtime environment
-Each runtime service in Zerops has a default runtime environment with a major version based on the [run.base](/zerops-yml/specification#base--1) attribute in `zerops.yml`.
-To install additional packages or tools add one or more [run.prepareCommands](/zerops-yml/specification#preparecommands--1) commands to your `zerops.yml`.
+Each runtime service in Zerops has a default runtime environment with a major version based on the [run.base](/zerops-yaml/specification#base--1) attribute in `zerops.yaml`.
+To install additional packages or tools add one or more [run.prepareCommands](/zerops-yaml/specification#preparecommands--1) commands to your `zerops.yaml`.
Learn more about what is included in the default runtime environment:
-
Features | -Lightweight (Free) | -Serious ($10/30d) | -
---|---|---|
Core Services | -Single container | -Highly available | -
HTTP Routing & Load Balancer | -Single container | -Highly available | -
Proxy / Load Balancer | -||
IPv6 Address | -||
Build Time | -15 hours | -150 hours | -
Backup Space | -5 GB | -25 GB | -
Egress | -100 GB | -3 TB | -
Resource | -Cost | -
---|---|
Backup Space | -$0.50 per 5 GB | -
Build Time | -$0.50 per 15 hours | -
Egress Traffic | -$0.10 per 1 GB | -
Resource | -Cost | -
---|---|
Shared CPU | -$0.60 per CPU / 30 days | -
Dedicated CPU | -$6.00 per CPU / 30 days | -
RAM | -$0.75 per 0.25 GB / 30 days | -
Disk space | -$0.05 per 0.5 GB / 30 days | -
Feature | -Cost | -
---|---|
Unique IPv4 address | -$3.00 / 30 days | -
Object Storage | -$0.01 / GB per 30 days | -
Specifies the service type and version.
- See what [Gleam service types](/references/importyml/type-list#runtime-services) are currently supported. + See what [Gleam service types](/references/import-yaml/type-list#runtime-services) are currently supported. |
Gleam service always starts with the minimal resources.
@@ -185,7 +182,7 @@ The scale up of RAM or disk is immediate. The scale up of CPU is configured to b
The **minimum step** for the vertical scaling is
- 1 CPU core
-- 0.25 GB RAM
+- 0.125 GB RAM
- 0.5 GB disk
When the application is under a heavy load and needs to scale up faster, the scaling step will increase automatically.
diff --git a/apps/docs/content/gleam/how-to/shared-storage.mdx b/apps/docs/content/gleam/how-to/shared-storage.mdx
index 5580a9ef..217ce64b 100644
--- a/apps/docs/content/gleam/how-to/shared-storage.mdx
+++ b/apps/docs/content/gleam/how-to/shared-storage.mdx
@@ -37,15 +37,15 @@ zCLI is the Zerops command-line tool. To create a new Gleam service via the comm
Zerops uses a yaml format to describe the project infrastructure.
-#### description.yml format
+#### description.yaml format
-[Read the basics](/gleam/how-to/create#create-a-project-description-file) how to define the Gleam service using the description.yml.
+[Read the basics](/gleam/how-to/create#create-a-project-description-file) how to define the Gleam service using the description.yaml.
#### Example with a shared storage
-Create a directory `my-project`. Create an `description.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project`. Create an `description.yaml` file inside the `my-project` directory with following content:
-```yml
+```yaml
# basic project data
project:
# project name
@@ -91,4 +91,4 @@ The mount attribute accepts an array of shared storage names you want to mount t
### Create a project with a Gleam service and a shared storage
-Follow the article [How to create a project based on the description.yml](/gleam/how-to/create#create-a-project-based-on-the-descriptionyml).
+Follow the article [How to create a project based on the description.yaml](/gleam/how-to/create#create-a-project-based-on-the-descriptionyaml).
diff --git a/apps/docs/content/gleam/how-to/trigger-pipeline.mdx b/apps/docs/content/gleam/how-to/trigger-pipeline.mdx
index e59008e2..7688135b 100644
--- a/apps/docs/content/gleam/how-to/trigger-pipeline.mdx
+++ b/apps/docs/content/gleam/how-to/trigger-pipeline.mdx
@@ -20,7 +20,7 @@ Integrate Zerops to your GitHub or GitLab repository and configure the automatic
Follow these steps:
-1. Add [zerops.yml](/gleam/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository.
+1. Add [zerops.yaml](/gleam/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository.
2. Connect your GitHub repository or connect your GitLab repository
Then each time you create a new tag or push to a specific branch, depending on the configuration, GitHub or GitLab will initiate a new build & deploy pipeline.
@@ -35,7 +35,7 @@ Then each time you create a new tag or push to a specific branch, depending on t
Resources Type | -Minimum resource | -Maximum resource | -
---|---|---|
CPU cores | -1 | -5 | -
RAM | -0.25 GB | -32 GB | -
Disk | -1 GB | -100 GB | -
-
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
- Learn more about projects in Zerops. See how to import a whole project into Zerops. + Learn more about projects in Zerops. See how to import a whole project into Zerops.
Learn more about services in Zerops and how to import a service to an existing project.
diff --git a/apps/docs/content/go/tutorial/step-by-step.mdx b/apps/docs/content/go/tutorial/step-by-step.mdx
index 08c9499d..aea2b3fd 100644
--- a/apps/docs/content/go/tutorial/step-by-step.mdx
+++ b/apps/docs/content/go/tutorial/step-by-step.mdx
@@ -23,7 +23,7 @@ In the detail of each step, you can find a link with more information about the
- Learn more about projects in
+ Learn more about projects in
Zerops. See how to import a whole project into Zerops.
Learn more about services in Zerops and how to import a service to an existing project.
diff --git a/apps/docs/content/help/faq.mdx b/apps/docs/content/help/faq.mdx
index 0d859da8..0d55f65b 100644
--- a/apps/docs/content/help/faq.mdx
+++ b/apps/docs/content/help/faq.mdx
@@ -5,6 +5,7 @@ description: Get quick answers to your related questions about Zerops from frequ
import Accordion from '/src/components/Accordion';
import { FAQ, FAQItem } from '/src/components/Faq';
+import Image from '/src/components/Image';
Get quick answers to your related questions about Zerops from frequently asked questions we get asked.
@@ -16,7 +17,34 @@ Get quick answers to your related questions about Zerops from frequently asked q
+
- Learn more about projects in Zerops. See how to
+ Learn more about projects in Zerops. See how to
import a whole project into Zerops.
diff --git a/apps/docs/content/nginx/tutorial/step-by-step.mdx b/apps/docs/content/nginx/tutorial/step-by-step.mdx
index 6bae21cd..85897524 100644
--- a/apps/docs/content/nginx/tutorial/step-by-step.mdx
+++ b/apps/docs/content/nginx/tutorial/step-by-step.mdx
@@ -23,7 +23,7 @@ In the detail of each step, you can find a link with more information about the
- Learn more about projects in
+ Learn more about projects in
Zerops. See how to import a whole project into Zerops.
Learn more about services in Zerops and how to import a service to an existing project.
diff --git a/apps/docs/content/nodejs/faq.mdx b/apps/docs/content/nodejs/faq.mdx
deleted file mode 100644
index 8095ce1d..00000000
--- a/apps/docs/content/nodejs/faq.mdx
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: Frequently Asked Questions
-description: Get quick answers to your related questions about Node.js from frequently asked questions by people at Zerops.
----
-
-import { FAQ, FAQItem } from '/src/components/Faq';
-
-
- Learn more about projects in
+ Learn more about projects in
Zerops. See how to import a whole project into Zerops.
diff --git a/apps/docs/content/python/tutorial/step-by-step.mdx b/apps/docs/content/python/tutorial/step-by-step.mdx
index 5b6d35a6..135216c8 100644
--- a/apps/docs/content/python/tutorial/step-by-step.mdx
+++ b/apps/docs/content/python/tutorial/step-by-step.mdx
@@ -23,7 +23,7 @@ In the detail of each step, you can find a link with more information about the
- Learn more about projects in
+ Learn more about projects in
Zerops. See how to import a whole project into Zerops.
Learn more about services in
diff --git a/apps/docs/content/qdrant/overview.mdx b/apps/docs/content/qdrant/overview.mdx
new file mode 100644
index 00000000..b82a1201
--- /dev/null
+++ b/apps/docs/content/qdrant/overview.mdx
@@ -0,0 +1,62 @@
+---
+title: Qdrant
+desc: Production-ready Qdrant vector database on Zerops platform with managed infrastructure, automatic cluster configuration, and built-in high availability.
+---
+
+import UnorderedList from '@site/src/components/UnorderedList';
+import UnorderedCodeList from '@site/src/components/UnorderedCodeList';
+import data from '@site/static/data.json';
+
+[Qdrant](https://qdrant.tech/) on Zerops provides a fully managed vector database solution designed for AI applications. Focus on building vector search features while we handle infrastructure maintenance, high availability, and data protection.
+
+## Supported Versions
+
+Currently supported Qdrant versions:
+
-
-
-
-
+ 2. Create a project.
3. In the left menu, click on Import services, copy & paste the
- contents of this yaml file and click on Import service.
+ contents of this yaml file and click on Import service.
+Zerops is a **developer-first Platform-as-a-Service**, running on bare metal, with every part built from scratch. Zerops aims to be the perfect mix of **developer experience**, **flexibility**, **scalability** and **affordability**, making it a great fit for applications of any size, complexity and traffic.
## Natively supported services
@@ -115,8 +112,8 @@ items={storages} />
},
{
type: 'link',
- href: '/zerops-yml/specification',
- label: 'zerops.yml',
+ href: '/zerops-yaml/specification',
+ label: 'zerops.yaml',
customProps: {
icon: Icons['document-text'],
html: 'Configuration file placed to your repository, telling Zerops how to build and start your app.',
@@ -164,7 +161,7 @@ You get a fully managed, professional infrastructure setup that will scale no ma
### ➡️ Granular resource configuration, autoscaling and high availability of services
-Zerops has fully automatic horizontal and vertical scaling with configuration steps as small as 0.25 MB RAM and 1 CPU core. Your runtime services can go from a single container with 0.25 RAM and 1 CPU core to 10 containers each with 32 GB RAM and 10 CPU cores and then back in a matter of minutes. At the same time, all database and storage services are offered in well-crafted setups that go through performance optimizations while scaling and are available in both non-HA (single container) and high availability (multiple containers and balancers) modes.
+Zerops has fully automatic horizontal and vertical scaling with configuration steps as small as 0.125 GB RAM and 1 CPU core. Your runtime services can go from a single container with 0.25 RAM and 1 CPU core to 10 containers each with 32 GB RAM and 10 CPU cores and then back in a matter of minutes. At the same time, all database and storage services are offered in well-crafted setups that go through performance optimizations while scaling and are available in both non-HA (single container) and high availability (multiple containers and balancers) modes.
:::tip[**What does this mean for you?**]
diff --git a/apps/docs/content/java/faq.mdx b/apps/docs/content/java/faq.mdx
deleted file mode 100644
index 16d656d1..00000000
--- a/apps/docs/content/java/faq.mdx
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: Frequently Asked Questions
-description: Get quick answers to your related questions about Java from frequently asked questions by people at Zerops.
----
-
-import { FAQ, FAQItem } from '/src/components/Faq';
-
-
-
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
- Disk
- 1 GB
- 100 GB
-
Specifies the service type and version.
- See what [Java service types](/references/importyml/type-list#runtime-services) are currently supported.
+ See what [Java service types](/references/import-yaml/type-list#runtime-services) are currently supported.
@@ -368,9 +343,9 @@ The `project:` section is required. Only one project can be defined.
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -383,11 +358,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -403,7 +378,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example:
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```yaml
# basic project data
@@ -433,9 +408,9 @@ S3_ACCESS_KEY_ID="P8cX1vVVb"
S3_ACCESS_SECRET="ogFthuiLYki8XoL73opSCQ"
```
-The content of the `services:` section of `import.yml` is identical to the project description file. The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the project description file. The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -449,4 +424,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the import.yml file is 100 kB.
+Maximum size of the import.yaml file is 100 kB.
diff --git a/apps/docs/content/java/how-to/customize-runtime.mdx b/apps/docs/content/java/how-to/customize-runtime.mdx
index ce1dff95..9401803b 100644
--- a/apps/docs/content/java/how-to/customize-runtime.mdx
+++ b/apps/docs/content/java/how-to/customize-runtime.mdx
@@ -22,9 +22,9 @@ The default Java runtime environment contains:
- Git
:::note
-To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.
+To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yaml/specification#os--1) attribute.
-Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
+Additional packages and tools can be installed using [run.prepareCommands](/zerops-yaml/specification#preparecommands--1).
:::
## Runtime Flow
diff --git a/apps/docs/content/java/how-to/deploy-process.mdx b/apps/docs/content/java/how-to/deploy-process.mdx
index b83f40e4..0d46b90f 100644
--- a/apps/docs/content/java/how-to/deploy-process.mdx
+++ b/apps/docs/content/java/how-to/deploy-process.mdx
@@ -40,7 +40,7 @@ Zerops performs following actions for each new container:
Services with multiple containers are deployed in parallel.
:::info
-If your application needs to be initialized in each runtime container, add [init commands](/java/how-to/build-pipeline#initcommands) to `zerops.yml`.
+If your application needs to be initialized in each runtime container, add [init commands](/java/how-to/build-pipeline#initcommands) to `zerops.yaml`.
:::
:::caution
@@ -58,7 +58,7 @@ The old containers are then removed from the project balancer so they don't rece
## Readiness checks
-If your application isn't ready to handle requests right after it is started via the [start command](/java/how-to/build-pipeline#start), configure a [readiness check](/java/how-to/build-pipeline#readiness-check) in your `zerops.yml`.
+If your application isn't ready to handle requests right after it is started via the [start command](/java/how-to/build-pipeline#start), configure a [readiness check](/java/how-to/build-pipeline#readiness-check) in your `zerops.yaml`.
If the readiness check is defined, Zerops will:
@@ -94,7 +94,7 @@ The list of application versions is available in Zerops GUI. Go to the service d
The pipeline detail is accessible from the additional menu. The pipeline detail contains
-- The pipeline config (`zerops.yml`) that was used for the selected version
+- The pipeline config (`zerops.yaml`) that was used for the selected version
- The build log (if available)
- The prepare runtime log (if available)
diff --git a/apps/docs/content/java/how-to/env-variables.mdx b/apps/docs/content/java/how-to/env-variables.mdx
index 21856739..988d7712 100644
--- a/apps/docs/content/java/how-to/env-variables.mdx
+++ b/apps/docs/content/java/how-to/env-variables.mdx
@@ -23,12 +23,12 @@ There are 3 different sets of env variables in Zerops:
basic
build
- zerops.yml
+ zerops.yaml
basic
runtime
- zerops.yml
+ zerops.yaml
- secret
@@ -41,13 +41,13 @@ There are 3 different sets of env variables in Zerops:
Use the [secret env variables](/java/how-to/create#set-secret-environment-variables) for all sensitive data you don't want to store in your application code. Secret env variables are also useful if you need for testing where you need to change the value of some env variables frequently. Secret variables are managed in Zerops GUI and you don't have to redeploy your application.
-The basic build and runtime env variables are listed in your [zerops.yml](/zerops-yml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yml and redeploy your application to Zerops.
+The basic build and runtime env variables are listed in your [zerops.yaml](/zerops-yaml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yaml and redeploy your application to Zerops.
You can [reference](/java/how-to/env-variables#reference-a-local-variable-in-another-variable-value) another variable of the same service or even a variable of [another service](/java/how-to/env-variables#reference-a-variable-of-another-project-service) within the same project.
## Set secret env variables in Zerops GUI
-Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yml.
+Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yaml.
-
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-
-
+Disk
- 1 GB
- 100 GB
-
`--workingDir` flag.
+The command triggers the [build pipeline](/java/how-to/trigger-pipeline) defined in `zerops.yaml`. `zerops.yaml` must be in the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
zCLI uploads all files and subdirectories of the working directory to Zerops and starts the build pipeline. If the `.gitignore` file is found, it is interpreted and the defined files and folders will be ignored.
@@ -90,14 +90,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
zCLI commands are interactive, when you press enter after `zcli push`, you will be given a list of your projects to choose from.
:::info
-You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yml` in your repository.
+You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your repository.
:::
## Manual deploy using Zerops CLI
@@ -106,7 +106,7 @@ To start only a deploy pipeline, use the Zerops CLI.
Follow these steps:
-1. Add [zerops.yml](/java/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository. Omit the build section.
+1. Add [zerops.yaml](/java/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository. Omit the build section.
2. [Install & setup zCLI](/references/cli) the Zerops command line tool.
3. Run `zcli service deploy` command.
@@ -121,8 +121,8 @@ Usage:
Flags:
--archiveFilePath string If set, zCLI creates a tar.gz archive with the application code in the required path relative
to the working directory. By default, no archive is created.
- --deployGitFolder Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --deployGitFolder Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
-h, --help the service deploy command.
--projectId string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
@@ -130,14 +130,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
`pathToFileOrDir` defines a path to one or more directories and/or files relative to the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
-`zerops.yml` must be placed in the working directory.
+`zerops.yaml` must be placed in the working directory.
:::info
-You can change the deploy pipeline when you need to. Just simply modify the `zerops.yml` in your working directory.
+You can change the deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your working directory.
:::
diff --git a/apps/docs/content/java/how-to/upgrade.mdx b/apps/docs/content/java/how-to/upgrade.mdx
index fc140718..d5bbe5cd 100644
--- a/apps/docs/content/java/how-to/upgrade.mdx
+++ b/apps/docs/content/java/how-to/upgrade.mdx
@@ -3,6 +3,6 @@ title: How to upgrade the Java version
description: Learn how to upgrade your java service's version
---
-You can upgrade or downgrade your Java service to a different major Java version by setting the `run.base` parameter in your `zerops.yml`. When you [trigger a new pipeline](/java/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Java version. If you don't specify the `run.base` attribute in your `zerops.yml`, Zerops keeps the current Java version for your runtime.
+You can upgrade or downgrade your Java service to a different major Java version by setting the `run.base` parameter in your `zerops.yaml`. When you [trigger a new pipeline](/java/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Java version. If you don't specify the `run.base` attribute in your `zerops.yaml`, Zerops keeps the current Java version for your runtime.
-If you want to build your application with a different major Java version, change the `build.base` parameter in your `zerops.yml`. The `build.base` is the required attribute.
+If you want to build your application with a different major Java version, change the `build.base` parameter in your `zerops.yaml`. The `build.base` is the required attribute.
diff --git a/apps/docs/content/java/overview.mdx b/apps/docs/content/java/overview.mdx
index 59c3805f..26dfe86b 100644
--- a/apps/docs/content/java/overview.mdx
+++ b/apps/docs/content/java/overview.mdx
@@ -25,9 +25,9 @@ As said, there is no need for coding yet, we have created a [Github repository
1. Log in/sign up to [Zerops GUI ↗](https://app.zerops.io)
-2. In the **Projects** box click on **Import a project** and paste in the following yml config ([source ↗](https://github.com/zeropsio/recipe-java-hello-world/blob/main/import-project/description.yml)):
+2. In the **Projects** box click on **Import a project** and paste in the following YAML config ([source ↗](https://github.com/zeropsio/recipe-java-hello-world/blob/main/import-project/description.yaml)):
-```yml
+```yaml
project:
name: my-first-project
services:
@@ -98,12 +98,12 @@ Do you have any questions? Check the step-by-step tutorial, browse the documenta
},
{
type: 'link',
- href: '/java/how-to/build-pipeline#add-zeropsyml-to-your-repository',
- label: 'zerops.yml',
+ href: '/java/how-to/build-pipeline#add-zeropsyaml-to-your-repository',
+ label: 'zerops.yaml',
customProps: {
icon: Icons['puzzle'],
description:
- 'See a full example of zerops.yml file to create your own app.',
+ 'See a full example of zerops.yaml file to create your own app.',
},
},
{
@@ -154,7 +154,7 @@ Have you build something that others might find useful? Don't hesitate to share
-
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
- Disk
- 1 GB
- 100 GB
-
@@ -289,7 +264,7 @@ At least one service in `services:` section is required. You can create a projec
-
+
Specifies the service type and version.
- See what [KeyDB service types](/references/importyml/type-list#database-services) are currently supported.
+ See what [KeyDB service types](/references/import-yaml/type-list#database-services) are currently supported.
@@ -349,9 +324,9 @@ At least one service in `services:` section is required. You can create a projec
The KeyDB service **hostname** and **mode** are fixed after the service is created. They can't be changed later.
:::
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -364,11 +339,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -384,7 +359,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```bash
# array of project services
@@ -400,9 +375,9 @@ services:
The yaml file describes the list of one or more services that you want to add to your existing project. In the example above, one KeyDB service in the [single container mode](#single-container) with default [auto scaling](/keydb/how-to/scale) configuration will be added to your project. Hostname of the new service will be set to `keydb1`.
-The content of the `services:` section of `import.yml` is identical to the [project description file](#create-a-project-description-file). The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the [project description file](#create-a-project-description-file). The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -416,4 +391,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the `import.yml` file is 100 kB.
+Maximum size of the `import.yaml` file is 100 kB.
diff --git a/apps/docs/content/keydb/how-to/export-import-data.mdx b/apps/docs/content/keydb/how-to/export-import-data.mdx
deleted file mode 100644
index e69de29b..00000000
diff --git a/apps/docs/content/keydb/how-to/scale.mdx b/apps/docs/content/keydb/how-to/scale.mdx
index db07359b..843e15ab 100644
--- a/apps/docs/content/keydb/how-to/scale.mdx
+++ b/apps/docs/content/keydb/how-to/scale.mdx
@@ -4,6 +4,7 @@ description: Get to know how Zerops scales your keydb service.
---
import Image from '/src/components/Image';
+import ResourceTable from '/src/components/ResourceTable';
Zerops performs an automated scaling of hardware resources required to run your database based on its usage. If the current use of your database does not require as much performance or disk space the auto scaling reduces the resources and thus reduces the costs. If your database is under heavy load or needs to store more data, then auto scaling increases the resources for the database to make sure it runs smoothly.
@@ -38,33 +39,7 @@ Choose the CPU mode when starting a new service or change it later. The CPU mode
Vertical auto scaling has following default configuration:
-
-
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
- Disk
- 1 GB
- 100 GB
-
-At least one service in `services:` section is required. You can create a project with multiple services. The example above contains only MariaDB services but you can create a `description.yml` with [different types] of services.
+At least one service in `services:` section is required. You can create a project with multiple services. The example above contains only MariaDB services but you can create a `description.yaml` with [different types] of services.
@@ -166,9 +173,9 @@ Zerops uses a yaml format file to describe the project infrastructure.
#### Basic example
-Create a directory `my-project`. Create a `description.yml` file inside the directory with the following content:
+Create a directory `my-project`. Create a `description.yaml` file inside the directory with the following content:
-```yml
+```yaml
# basic project data
project:
# project name
@@ -187,9 +194,9 @@ The yaml file describes your future project infrastructure. The project will con
#### Full example
-Create a directory `my-project`. Create a `description.yml` file inside the directory with the following content:
+Create a directory `my-project`. Create a `description.yaml` file inside the directory with the following content:
-```yml
+```yaml
# basic project data
project:
# project name
@@ -234,7 +241,7 @@ The hostname of the first service will be set to `mariadb1`. The [high availabil
The hostname of the second service will be set to `mariadb2`. The [single container](#single-container) mode will be chosen and the default [auto scaling configuration](/mariadb/how-to/scale) will be set.
-#### Description of description.yml parameters
+#### Description of description.yaml parameters
The `project:` section is required. Only one project can be defined.
@@ -266,7 +273,7 @@ The `project:` section is required. Only one project can be defined.
@@ -292,7 +299,7 @@ At least one service in `services:` section is required. You can create a projec
-At least one service in `services:` section is required. You can create a project with multiple services. The example above contains an Nginx static service but you can create a `description.yml` with your own combination of [services](/features/infrastructure).
+At least one service in `services:` section is required. You can create a project with multiple services. The example above contains an Nginx static service but you can create a `description.yaml` with your own combination of [services](/features/infrastructure).
type
Specifies the service type and version.
- See what [MariaDB service types](/references/importyml/type-list#database-services) are currently supported.
+ See what [MariaDB service types](/references/import-yaml/type-list#database-services) are currently supported.
@@ -360,9 +367,9 @@ At least one service in `services:` section is required. You can create a projec
The MariaDB service **hostname** and **mode** are fixed after the service is created. They can't be changed later.
:::
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -375,11 +382,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -396,7 +403,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```bash
# array of project services
@@ -412,9 +419,9 @@ services:
The yaml file describes the list of one or more services that you want to add to your existing project. In the example above, one MariaDB 10.4 service in the [single container mode](#single-container) with default [auto scaling](/mariadb/how-to/scale) configuration will be added to your project. Hostname of the new service will be set to `mariadb1`.
-The content of the `services:` section of `import.yml` is identical to the [project description file](#create-a-project-description-file). The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the [project description file](#create-a-project-description-file). The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -428,4 +435,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the `import.yml` file is 100 kB.
+Maximum size of the `import.yaml` file is 100 kB.
diff --git a/apps/docs/content/mariadb/how-to/manage.mdx b/apps/docs/content/mariadb/how-to/manage.mdx
index 02e1c842..d56604f7 100644
--- a/apps/docs/content/mariadb/how-to/manage.mdx
+++ b/apps/docs/content/mariadb/how-to/manage.mdx
@@ -29,7 +29,7 @@ To install Adminer into your project, open your project in Zerops GUI and select
Copy the following yaml file into the text area and start the import:
-```yml
+```yaml
services:
- # Service will be accessible through zCLI VPN under: http://adminer
hostname: adminer
@@ -79,7 +79,7 @@ To install phpMyAdmin into your project, open your project in Zerops GUI and sel
Copy the following yaml file into the text area and start the import:
-```yml
+```yaml
services:
- # Service will be accessible through zCLI VPN under: http://phpmyadmin
hostname: phpmyadmin
diff --git a/apps/docs/content/mariadb/how-to/scale.mdx b/apps/docs/content/mariadb/how-to/scale.mdx
index aa305403..6ba09e5d 100644
--- a/apps/docs/content/mariadb/how-to/scale.mdx
+++ b/apps/docs/content/mariadb/how-to/scale.mdx
@@ -4,6 +4,7 @@ description: Get to know how Zerops scales your mariadb service.
---
import Image from '/src/components/Image';
+import ResourceTable from '/src/components/ResourceTable';
Zerops performs an automated scaling of hardware resources required to run your database based on its usage. If the current use of your database does not require as much performance or disk space the auto scaling reduces the resources and thus reduces the costs. If your database is under heavy load or needs to store more data, then auto scaling increases the resources for the database to make sure it runs smoothly.
@@ -38,11 +39,11 @@ Choose the CPU mode when starting a new service or change it later. The CPU mode
Vertical auto scaling has following default configuration:
-| | Minimum resource | Maximum resource |
-| ------------- | ---------------- | ---------------- |
-| **CPU cores** | 1 | 5 |
-| **RAM** | 0.5 GB | 32 GB |
-| **Disk** | 1 GB | 100 GB |
+
+
+
+
+:::important
+Configuration changes require a service **restart** to take effect. While NATS itself supports configuration hot-reload, this feature will be implemented in a future Zerops update.
+:::
+
+After restarting, check your service logs to confirm the changes were applied successfully.
+
+### JetStream Configuration
+
+The service includes [JetStream](https://docs.nats.io/nats-concepts/jetstream) functionality **enabled by default**, providing persistent storage capabilities for your messaging workloads:
+- **Memory store**: Up to 40GB for high-performance message caching
+- **File store**: Up to 250GB for persistent storage
+- **Regular sync intervals**: Ensures data durability and consistency
+
+:::note
+In HA deployments, data persistence is further enhanced with 1-minute sync intervals across all nodes, ensuring robust data durability and high availability.
+:::
+
+This configuration provides a robust foundation for message persistence while balancing performance and reliability.
+
+:::tip
+Disabling JetStream can reduce resource utilization for applications that don't require message persistence.
+:::
+
+### Deployment Modes
+
+:::warning
+Deployment mode is selected during service creation and cannot be changed later.
+:::
+
+#### Non-HA Mode
+- Suitable for development and testing
+- Data persistence not guaranteed during node failures
+- Lower resource requirements
+
+#### HA Mode
+- Creates a multi-node NATS cluster
+- Configures routes between cluster nodes automatically
+- Implements [NATS clustering](https://docs.nats.io/running-a-nats-service/configuration/clustering) for high availability
+- Provides improved reliability compared to non-HA deployments
+
+### Authentication Management
+
+Authentication credentials are automatically generated and managed by the platform. The system creates a default user (`zerops`) with a secure 16-character password. You can access these credentials through:
+- The service access details in the Zerops GUI
+- Environment variables in your service configuration:
+ - `user` - Username for authentication (default: "zerops")
+ - `password` - Generated secure password
+ - `connectionString` - Complete connection string in the format `nats://${dbUser}:${dbPassword}@${hostname}:${port}`
+
+## Health Monitoring
+
+Zerops continuously monitors your NATS service health using built-in health checks:
+
+- **HTTP Health Check**: The system checks the `/healthz` endpoint at port 8222
+- **Self-Healing**: The platform automatically recovers unhealthy nodes when issues are detected
+
+### Health Status
+
+You can check the health status of your NATS service:
+
+1. Through the Zerops GUI dashboard
+2. By accessing the management interface at port `8222`
+
+## Backup and Recovery
+
+Zerops provides built-in backup functionality for your NATS JetStream data, ensuring your message streams and configurations can be safely preserved and restored when needed.
+
+### Backup Process
+
+Backups are created in `.tar.gz` format using the `nats` backup command. They are saved to local disk, compressed, streamed to backup storage, and then deleted locally.
+
+For general information about backup frequency and storage limits, see our [Backup documentation](/features/backup).
+
+## Support
+
+For advanced configurations or custom requirements:
+- Join our [Discord community](https://discord.gg/zerops)
+- Contact support via [email](mailto:support@zerops.io)
\ No newline at end of file
diff --git a/apps/docs/content/nginx/how-to/access.mdx b/apps/docs/content/nginx/how-to/access.mdx
index f8a1c0a5..fe84265b 100644
--- a/apps/docs/content/nginx/how-to/access.mdx
+++ b/apps/docs/content/nginx/how-to/access.mdx
@@ -55,7 +55,7 @@ Use the `ssh` command to connect to your service v
## Public access through zerops.io subdomain
-By default, your Nginx static service is not publicly accessible. To test your application, enable the [public access through zerops.io subdomain](/features/access#public-access-through-zeropsapp-subdomain).
+By default, your Nginx static service is not publicly accessible. To test your application, enable the [public access through zerops.io subdomain](/features/access#public-access-through-zerops-subdomain).
## Public access through your domain
@@ -63,4 +63,4 @@ By default, your Nginx static service is not publicly accessible. When your appl
## Public access from another Zerops project
-All services of the same project share a dedicated private network. To connect to a service within the same project, just use the service hostname and its [internal port](/nginx/how-to/build-pipeline#ports). Different projects are not connected inside Zerops. To connect to a runtime service from another Zerops project, you need to use public access either [through zerops.io subdomain](/features/access#public-access-through-zeropsapp-subdomain) or [through your domain](/features/access#public-access-through-your-domain).
+All services of the same project share a dedicated private network. To connect to a service within the same project, just use the service hostname and its [internal port](/nginx/how-to/build-pipeline#ports). Different projects are not connected inside Zerops. To connect to a runtime service from another Zerops project, you need to use public access either [through zerops.io subdomain](/features/access#public-access-through-zerops-subdomain) or [through your domain](/features/access#public-access-through-your-domain).
diff --git a/apps/docs/content/nginx/how-to/build-pipeline.mdx b/apps/docs/content/nginx/how-to/build-pipeline.mdx
index 5cfce5ca..105a3c29 100644
--- a/apps/docs/content/nginx/how-to/build-pipeline.mdx
+++ b/apps/docs/content/nginx/how-to/build-pipeline.mdx
@@ -26,11 +26,11 @@ Zerops supports different build environments:
If you just need to deploy your static content, use the [manual deploy](/nginx/how-to/trigger-pipeline#manual-deploy-using-zerops-cli) via Zerops CLI.
-## Add zerops.yml to your repository
+## Add zerops.yaml to your repository
-Start by adding `zerops.yml` file to the **root of your repository** and modify it to fit your application:
+Start by adding `zerops.yaml` file to the **root of your repository** and modify it to fit your application:
-```yml
+```yaml
zerops:
# define hostname of your service
- setup: app
@@ -95,9 +95,9 @@ The top-level element is always `zerops`.
### Setup
The first element `setup` contains the **hostname** of your service. A runtime service with the same hostname must exist in Zerops.
-Zerops supports the definition of multiple runtime services in a single `zerops.yml`. This is useful when you use a monorepo. Just add multiple setup elements in your `zerops.yml`:
+Zerops supports the definition of multiple runtime services in a single `zerops.yaml`. This is useful when you use a monorepo. Just add multiple setup elements in your `zerops.yaml`:
-```yml
+```yaml
zerops:
# definition for app service
- setup: app
@@ -123,7 +123,7 @@ Following options are available for Nginx builds:
+
+
+
+ Variable
+ Description
+
+
+
+ MAX_PAYLOAD
Defines the maximum allowed message size for all NATS traffic. Default:
+ 8MB
, Maximum: 64MB
. See NATS limits documentation for details.
+
+
+
+ JET_STREAM_ENABLED
Controls whether JetStream functionality is enabled. Default:
+ 1
(enabled), Set to 0
to disable. See JetStream Configuration section below for more details.
-
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
- Disk
- 1 GB
- 100 GB
-
@@ -324,7 +299,7 @@ At least one service in `services:` section is required. You can create a projec
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -421,11 +396,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -442,7 +417,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example:
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```yaml
# basic project data
@@ -472,9 +447,9 @@ S3_ACCESS_KEY_ID="P8cX1vVVb"
S3_ACCESS_SECRET="ogFthuiLYki8XoL73opSCQ"
```
-The content of the `services:` section of `import.yml` is identical to the project description file. The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the project description file. The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -488,4 +463,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the import.yml file is 100 kB.
+Maximum size of the import.yaml file is 100 kB.
diff --git a/apps/docs/content/nginx/how-to/customize-runtime.mdx b/apps/docs/content/nginx/how-to/customize-runtime.mdx
index a5e1b502..e6338b80 100644
--- a/apps/docs/content/nginx/how-to/customize-runtime.mdx
+++ b/apps/docs/content/nginx/how-to/customize-runtime.mdx
@@ -22,9 +22,9 @@ The default Nginx runtime environment contains:
- Git and Composer
:::note
-To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.
+To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yaml/specification#os--1) attribute.
-Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
+Additional packages and tools can be installed using [run.prepareCommands](/zerops-yaml/specification#preparecommands--1).
:::
### Runtime Flow
diff --git a/apps/docs/content/nginx/how-to/customize-web-server.mdx b/apps/docs/content/nginx/how-to/customize-web-server.mdx
index fa474812..dfb9988b 100644
--- a/apps/docs/content/nginx/how-to/customize-web-server.mdx
+++ b/apps/docs/content/nginx/how-to/customize-web-server.mdx
@@ -26,7 +26,7 @@ server {
The configuration contains 2 variables:
-- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yml`. If the attribute is not specified, the default value `/var/www` is used.
+- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yaml`. If the attribute is not specified, the default value `/var/www` is used.
## Customize Nginx configuration
@@ -36,7 +36,7 @@ Follow these steps to customize the Nginx configuration in Nginx static service:
2. Optionally use following variables:
-- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yml`. If the attribute is not specified, the default value `/var/www` is used.
+- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yaml`. If the attribute is not specified, the default value `/var/www` is used.
Example:
@@ -44,7 +44,7 @@ Example:
root {{.DocumentRoot}};
```
-- **`{{.Environment.ENV_NAME}}`** is replaced by the [env variable](/nginx/how-to/env-variables) value. The env variable must be either defined in [run.envVariables](/nginx/how-to/build-pipeline#envvariables) in `zerops.yml` or set as a [secret](/nginx/how-to/env-variables#set-secret-env-variables-in-zerops-gui) or [generated](/nginx/how-to/env-variables#generated-env-variables) env variable in Zerops GUI.
+- **`{{.Environment.ENV_NAME}}`** is replaced by the [env variable](/nginx/how-to/env-variables) value. The env variable must be either defined in [run.envVariables](/nginx/how-to/build-pipeline#envvariables) in `zerops.yaml` or set as a [secret](/nginx/how-to/env-variables#set-secret-env-variables-in-zerops-gui) or [generated](/nginx/how-to/env-variables#generated-env-variables) env variable in Zerops GUI.
:::caution
Use the **.tmpl** file extension to make Zerops interpret the file as a template. Zerops will replace the supported variables listed above.
@@ -53,12 +53,12 @@ Use the **.tmpl** file extension to make Zerops interpret the file as a template
3. Check that your Nginx configuration is consistent with Zerops requirements:
- Do not use IP addresses in the `listen` directive
-- If you use other ports than `:80` in the `listen` directive, add them to the `run.ports` in your `zerops.yml` as well.
+- If you use other ports than `:80` in the `listen` directive, add them to the `run.ports` in your `zerops.yaml` as well.
- Do not use the port **:443**. All the incoming `https://` traffic is terminated on the Zerops internal balancer where the SSL certificate is installed and the request is forwarded to your Nginx static service as a **http://** on the port **:80**.
-4. Add the `siteConfigPath` to the run section of your `zerops.yml`
+4. Add the `siteConfigPath` to the run section of your `zerops.yaml`
-```yml
+```yaml
zerops:
# define hostname of your service
- setup: app
diff --git a/apps/docs/content/nginx/how-to/deploy-process.mdx b/apps/docs/content/nginx/how-to/deploy-process.mdx
index 35a54cc9..4506db6e 100644
--- a/apps/docs/content/nginx/how-to/deploy-process.mdx
+++ b/apps/docs/content/nginx/how-to/deploy-process.mdx
@@ -38,7 +38,7 @@ Zerops performs following actions for each new container:
Services with multiple containers are deployed in parallel.
:::info
-If your application needs to be initialized in each runtime container, add [init commands](/nginx/how-to/build-pipeline#initcommands) to `zerops.yml`.
+If your application needs to be initialized in each runtime container, add [init commands](/nginx/how-to/build-pipeline#initcommands) to `zerops.yaml`.
:::
:::caution
@@ -56,7 +56,7 @@ The old containers are then removed from the project balancer so they don't rece
## Readiness checks
-If your application isn't ready as soon as it is started, configure a [readiness check](/nginx/how-to/build-pipeline#readiness-check) in your `zerops.yml`.
+If your application isn't ready as soon as it is started, configure a [readiness check](/nginx/how-to/build-pipeline#readiness-check) in your `zerops.yaml`.
If the readiness check is defined, Zerops will:
@@ -92,7 +92,7 @@ The list of application versions is available in Zerops GUI. Go to the service d
The pipeline detail is accessible from the additional menu. The pipeline detail contains
-- The pipeline config (`zerops.yml`) that was used for the selected version
+- The pipeline config (`zerops.yaml`) that was used for the selected version
- The build log (if available)
- The prepare runtime log (if available)
diff --git a/apps/docs/content/nginx/how-to/env-variables.mdx b/apps/docs/content/nginx/how-to/env-variables.mdx
index a6d396ec..b29e27ed 100644
--- a/apps/docs/content/nginx/how-to/env-variables.mdx
+++ b/apps/docs/content/nginx/how-to/env-variables.mdx
@@ -23,12 +23,12 @@ There are 3 different sets of env variables in Zerops:
Specifies the service type and version.
- See what [nginx service types](/references/importyml/type-list#runtime-services) are currently supported.
+ See what [nginx service types](/references/import-yaml/type-list#runtime-services) are currently supported.
@@ -406,9 +381,9 @@ At least one service in `services:` section is required. You can create a projec
basic
build
- zerops.yml
+ zerops.yaml
basic
runtime
- zerops.yml
+ zerops.yaml
- secret
@@ -41,13 +41,13 @@ There are 3 different sets of env variables in Zerops:
Use the [secret env variables](/nginx/how-to/create#set-secret-environment-variables) for all sensitive data you don't want to store in your application code. Secret env variables are also useful if you need for testing where you need to change the value of some env variables frequently. Secret variables are managed in Zerops GUI and you don't have to redeploy your application.
-The basic build and runtime env variables are listed in your [zerops.yml](/zerops-yml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yml and redeploy your application to Zerops.
+The basic build and runtime env variables are listed in your [zerops.yaml](/zerops-yaml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yaml and redeploy your application to Zerops.
You can [reference](/nginx/how-to/env-variables#reference-a-local-variable-in-another-variable-value) another variable of the same service or even a variable of [another service](/nginx/how-to/env-variables#reference-a-variable-of-another-project-service) within the same project.
## Set secret env variables in Zerops GUI
-Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yml.
+Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yaml.
-
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
- Disk
- 1 GB
- 100 GB
-
`--workingDir` flag.
+The command triggers the [build pipeline](/nginx/how-to/trigger-pipeline) defined in `zerops.yaml`. `zerops.yaml` must be in the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
zCLI uploads all files and subdirectories of the working directory to Zerops and starts the build pipeline. If the `.gitignore` file is found, it is interpreted and the defined files and folders will be ignored.
@@ -90,14 +90,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
zCLI commands are interactive, when you press enter after `zcli push`, you will be given a list of your projects to choose from.
:::info
-You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yml` in your repository.
+You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your repository.
:::
## Manual deploy using Zerops CLI
@@ -106,7 +106,7 @@ To start only a deploy pipeline, use the Zerops CLI.
Follow these steps:
-1. Add [zerops.yml](/nginx/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository. Omit the build section.
+1. Add [zerops.yaml](/nginx/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository. Omit the build section.
2. [Install & setup zCLI](/references/cli) the Zerops command line tool.
3. Run `zcli service deploy` command.
@@ -121,8 +121,8 @@ Usage:
Flags:
--archiveFilePath string If set, zCLI creates a tar.gz archive with the application code in the required path relative
to the working directory. By default, no archive is created.
- --deployGitFolder Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --deployGitFolder Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
-h, --help the service deploy command.
--projectId string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
@@ -130,14 +130,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
`pathToFileOrDir` defines a path to one or more directories and/or files relative to the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
-`zerops.yml` must be placed in the working directory.
+`zerops.yaml` must be placed in the working directory.
:::info
-You can change the deploy pipeline when you need to. Just simply modify the `zerops.yml` in your working directory.
+You can change the deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your working directory.
:::
diff --git a/apps/docs/content/nginx/how-to/upgrade.mdx b/apps/docs/content/nginx/how-to/upgrade.mdx
index 2b54b24c..cac7327e 100644
--- a/apps/docs/content/nginx/how-to/upgrade.mdx
+++ b/apps/docs/content/nginx/how-to/upgrade.mdx
@@ -3,4 +3,4 @@ title: How to upgrade the Nginx version
description: Learn how to upgrade your nginx service's version
---
-You can upgrade or downgrade your Nginx static service to a different major Nginx version by setting the `run.base` parameter in your `zerops.yml`. When you [trigger a new pipeline](/nginx/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Nginx version. If you don't specify the `run.base` attribute in your `zerops.yml`, Zerops keeps the current Nginx version for your runtime.
+You can upgrade or downgrade your Nginx static service to a different major Nginx version by setting the `run.base` parameter in your `zerops.yaml`. When you [trigger a new pipeline](/nginx/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Nginx version. If you don't specify the `run.base` attribute in your `zerops.yaml`, Zerops keeps the current Nginx version for your runtime.
diff --git a/apps/docs/content/nginx/overview.mdx b/apps/docs/content/nginx/overview.mdx
index 346e7153..6b770f1c 100644
--- a/apps/docs/content/nginx/overview.mdx
+++ b/apps/docs/content/nginx/overview.mdx
@@ -54,12 +54,12 @@ The Nginx static service contains the [Nginx ↗](https://nginx.org/) web server
},
{
type: 'link',
- href: '/nginx/how-to/build-pipeline#add-zeropsyml-to-your-repository',
- label: 'zerops.yml',
+ href: '/nginx/how-to/build-pipeline#add-zeropsyaml-to-your-repository',
+ label: 'zerops.yaml',
customProps: {
icon: Icons['puzzle'],
description:
- 'See a full example of zerops.yml file to create your own app.',
+ 'See a full example of zerops.yaml file to create your own app.',
},
},
{
@@ -119,7 +119,7 @@ Have you build something that others might find useful? Don't hesitate to share
2. Create a project.
3. In the left menu, click on Import services, copy & paste the
- contents of the `import-services.yml` config file from the recipe
+ contents of the `import-services.yaml` config file from the recipe
repository of your choice. Then click on Import service.
2. Create a project.
3. In the left menu, click on Import services, copy & paste the
- contents of this yaml file and click on Import service.
+ contents of this yaml file and click on Import service.
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-Disk
- 1 GB
- 100 GB
-
@@ -333,7 +309,7 @@ At least one service in `services:` section is required. You can create a projec
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -412,11 +388,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -432,7 +408,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example:
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```yaml
# basic project data
@@ -462,9 +438,9 @@ S3_ACCESS_KEY_ID="P8cX1vVVb"
S3_ACCESS_SECRET="ogFthuiLYki8XoL73opSCQ"
```
-The content of the `services:` section of `import.yml` is identical to the project description file. The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the project description file. The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -478,4 +454,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the import.yml file is 100 kB.
+Maximum size of the import.yaml file is 100 kB.
diff --git a/apps/docs/content/nodejs/how-to/customize-runtime.mdx b/apps/docs/content/nodejs/how-to/customize-runtime.mdx
index 244ca7b1..e0574696 100644
--- a/apps/docs/content/nodejs/how-to/customize-runtime.mdx
+++ b/apps/docs/content/nodejs/how-to/customize-runtime.mdx
@@ -24,9 +24,9 @@ The default Node.js runtime environment contains:
- NPM, Yarn, Git and NPX tools
:::note
-To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.
+To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yaml/specification#os--1) attribute.
-Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
+Additional packages and tools can be installed using [run.prepareCommands](/zerops-yaml/specification#preparecommands--1).
:::
When the first deploy with a defined `prepareCommands` attribute is triggered, Zerops will
diff --git a/apps/docs/content/nodejs/how-to/deploy-process.mdx b/apps/docs/content/nodejs/how-to/deploy-process.mdx
index 5f47d7c0..37570a10 100644
--- a/apps/docs/content/nodejs/how-to/deploy-process.mdx
+++ b/apps/docs/content/nodejs/how-to/deploy-process.mdx
@@ -40,7 +40,7 @@ Zerops performs following actions for each new container:
Services with multiple containers are deployed in parallel.
:::info
-If your application needs to be initialized in each runtime container, add [init commands](/nodejs/how-to/build-pipeline#initcommands) to `zerops.yml`.
+If your application needs to be initialized in each runtime container, add [init commands](/nodejs/how-to/build-pipeline#initcommands) to `zerops.yaml`.
:::
:::caution
@@ -58,7 +58,7 @@ The old containers are then removed from the project balancer so they don't rece
## Readiness checks
-If your application isn't ready to handle requests right after it is started via the [start command](/nodejs/how-to/build-pipeline#start), configure a [readiness check](/nodejs/how-to/build-pipeline#readiness-check) in your `zerops.yml`.
+If your application isn't ready to handle requests right after it is started via the [start command](/nodejs/how-to/build-pipeline#start), configure a [readiness check](/nodejs/how-to/build-pipeline#readiness-check) in your `zerops.yaml`.
If the readiness check is defined, Zerops will:
@@ -94,7 +94,7 @@ The list of application versions is available in Zerops GUI. Go to the service d
The pipeline detail is accessible from the additional menu. The pipeline detail contains
-- The pipeline config (`zerops.yml`) that was used for the selected version
+- The pipeline config (`zerops.yaml`) that was used for the selected version
- The build log (if available)
- The prepare runtime log (if available)
diff --git a/apps/docs/content/nodejs/how-to/env-variables.mdx b/apps/docs/content/nodejs/how-to/env-variables.mdx
index 9533838e..093c98d1 100644
--- a/apps/docs/content/nodejs/how-to/env-variables.mdx
+++ b/apps/docs/content/nodejs/how-to/env-variables.mdx
@@ -23,12 +23,12 @@ There are 3 different sets of env variables in Zerops:
Specifies the service type and version.
- See what [Node.js service types](/references/importyml/type-list#runtime-services) are currently supported.
+ See what [Node.js service types](/references/import-yaml/type-list#runtime-services) are currently supported.
@@ -397,9 +373,9 @@ At least one service in `services:` section is required. You can create a projec
basic
build
- zerops.yml
+ zerops.yaml
basic
runtime
- zerops.yml
+ zerops.yaml
- secret
@@ -40,13 +40,13 @@ There are 3 different sets of env variables in Zerops:
Use the [secret env variables](/nodejs/how-to/create#set-secret-environment-variables) for all sensitive data you don't want to store in your application code. Secret env variables are also useful if you need for testing where you need to change the value of some env variables frequently. Secret variables are managed in Zerops GUI and you don't have to redeploy your application.
-The basic build and runtime env variables are listed in your [zerops.yml](/zerops-yml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yml and redeploy your application to Zerops.
+The basic build and runtime env variables are listed in your [zerops.yaml](/zerops-yaml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yaml and redeploy your application to Zerops.
You can [reference](/nodejs/how-to/env-variables#reference-a-local-variable-in-another-variable-value) another variable of the same service or even a variable of [another service](/nodejs/how-to/env-variables#reference-a-variable-of-another-project-service) within the same project.
## Set secret env variables in Zerops GUI
-Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yml.
+Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yaml.
-
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-
-
+Disk
- 1 GB
- 100 GB
-
`--workingDir` flag.
+The command triggers the [build pipeline](/nodejs/how-to/trigger-pipeline) defined in `zerops.yaml`. `zerops.yaml` must be in the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
zCLI uploads all files and subdirectories of the working directory to Zerops and starts the build pipeline. If the `.gitignore` file is found, it is interpreted and the defined files and folders will be ignored.
@@ -90,14 +90,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
zCLI commands are interactive, when you press enter after `zcli push`, you will be given a list of your projects to choose from.
:::info
-You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yml` in your repository.
+You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your repository.
:::
## Manual deploy using Zerops CLI
@@ -106,7 +106,7 @@ To start only a deploy pipeline, use the Zerops CLI.
Follow these steps:
-1. Add [zerops.yml](/nodejs/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository. Omit the build section.
+1. Add [zerops.yaml](/nodejs/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository. Omit the build section.
2. [Install & setup zCLI](/references/cli) the Zerops command line tool.
3. Run `zcli service deploy` command.
@@ -121,8 +121,8 @@ Usage:
Flags:
--archiveFilePath string If set, zCLI creates a tar.gz archive with the application code in the required path relative
to the working directory. By default, no archive is created.
- --deployGitFolder Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --deployGitFolder Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
-h, --help the service deploy command.
--projectId string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
@@ -130,14 +130,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
`pathToFileOrDir` defines a path to one or more directories and/or files relative to the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
-`zerops.yml` must be placed in the working directory.
+`zerops.yaml` must be placed in the working directory.
:::info
-You can change the deploy pipeline when you need to. Just simply modify the `zerops.yml` in your working directory.
+You can change the deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your working directory.
:::
diff --git a/apps/docs/content/nodejs/how-to/upgrade.mdx b/apps/docs/content/nodejs/how-to/upgrade.mdx
index 2d100b1d..1defee31 100644
--- a/apps/docs/content/nodejs/how-to/upgrade.mdx
+++ b/apps/docs/content/nodejs/how-to/upgrade.mdx
@@ -3,6 +3,6 @@ title: How to upgrade the Node.js version
description: Learn how to upgrade your node.js service's version
---
-You can upgrade or downgrade your Node.js service to a different major Node.js version by setting the `run.base` parameter in your `zerops.yml`. When you [trigger a new pipeline](/nodejs/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Node.js version. If you don't specify the `run.base` attribute in your `zerops.yml`, Zerops keeps the current Node.js version for your runtime.
+You can upgrade or downgrade your Node.js service to a different major Node.js version by setting the `run.base` parameter in your `zerops.yaml`. When you [trigger a new pipeline](/nodejs/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Node.js version. If you don't specify the `run.base` attribute in your `zerops.yaml`, Zerops keeps the current Node.js version for your runtime.
-If you want to build your application with a different major Node.js version, change the `build.base` parameter in your `zerops.yml`. The `build.base` is the required attribute.
+If you want to build your application with a different major Node.js version, change the `build.base` parameter in your `zerops.yaml`. The `build.base` is the required attribute.
diff --git a/apps/docs/content/nodejs/overview.mdx b/apps/docs/content/nodejs/overview.mdx
index e4650e8c..2bf3cf77 100644
--- a/apps/docs/content/nodejs/overview.mdx
+++ b/apps/docs/content/nodejs/overview.mdx
@@ -25,9 +25,9 @@ As said, there is no need for coding yet, we have created a [Github repository
1. Log in/sign up to [Zerops GUI ↗](https://app.zerops.io)
-2. In the **Projects** box click on **Import a project** and paste in the following yml config ([source ↗](https://github.com/zeropsio/recipe-nodejs/blob/main/zerops-project-import.yml)):
+2. In the **Projects** box click on **Import a project** and paste in the following YAML config ([source ↗](https://github.com/zeropsio/recipe-nodejs/blob/main/zerops-project-import.yaml)):
-```yml
+```yaml
project:
name: recipe-nodejs
tags:
@@ -116,12 +116,12 @@ It doesn't matter whether it's your first curious introduction to Zerops, you ha
},
{
type: 'link',
- href: '/nodejs/how-to/build-pipeline#add-zeropsyml-to-your-repository',
- label: 'zerops.yml',
+ href: '/nodejs/how-to/build-pipeline#add-zeropsyaml-to-your-repository',
+ label: 'zerops.yaml',
customProps: {
icon: Icons['puzzle'],
description:
- 'See a full example of zerops.yml file to create your own app.',
+ 'See a full example of zerops.yaml file to create your own app.',
},
},
{
@@ -172,7 +172,7 @@ Have you build something that others might find useful? Don't hesitate to share
@@ -305,9 +305,9 @@ Each Object storage service can only contain one bucket. If your application nee
Bucket will be created with a name based on the given service name and a random prefix. The name of the bucket cannot be changed later.
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -320,11 +320,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -339,9 +339,9 @@ If you have access to more than one client, you must specify the client ID for w
### Add Object service to an existing project
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
-```yml
+```yaml
# array of project services
services:
- # service name
@@ -362,9 +362,9 @@ services:
The yaml file describes the list of one or more services that you want to add to your existing project. In the example above, one Object storage service named upload will be created. The bucket quota will be set to 73 GB and the bucket access policy will be set to `public-write`.
-The content of the `services:` section of `import.yml` is identical to the [project description file]. The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the [project description file]. The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -378,11 +378,11 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the `import.yml` file is 100 kB.
+Maximum size of the `import.yaml` file is 100 kB.
#### Example
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```bash
# array of project services
@@ -396,4 +396,4 @@ services:
The yaml file describes the list of one or more services that you want to add to your existing project. In the example above, one Object storage service in the single container mode with default auto scaling configuration will be added to your project. Hostname of the new service will be set to `storage`.
-The content of the `services:` section of `import.yml` is identical to the [project description file](#create-a-project-description-file). The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the [project description file](#create-a-project-description-file). The `import.yaml` never contains the `project:` section because the project already exists.
diff --git a/apps/docs/content/object-storage/how-to/update-bucket.mdx b/apps/docs/content/object-storage/how-to/update-bucket.mdx
index 472e1cb1..52ba1ded 100644
--- a/apps/docs/content/object-storage/how-to/update-bucket.mdx
+++ b/apps/docs/content/object-storage/how-to/update-bucket.mdx
@@ -52,7 +52,7 @@ Or you can set your own access policy in the [IAM Policy JSON format](https://mi
#### Example:
-```yml
+```yaml
{
'Version': '2012-10-17',
'Statement':
diff --git a/apps/docs/content/object-storage/overview.mdx b/apps/docs/content/object-storage/overview.mdx
index 5e0c14ef..1be0a2d0 100644
--- a/apps/docs/content/object-storage/overview.mdx
+++ b/apps/docs/content/object-storage/overview.mdx
@@ -81,7 +81,7 @@ Have you build something that others might find useful? Don't hesitate to share
-At least one service in `services:` section is required. You can create a project with multiple services. The example above contains PHP and PostgreSQL services but you can create a `description.yml` with your own combination of [services](/features/infrastructure).
+At least one service in `services:` section is required. You can create a project with multiple services. The example above contains PHP and PostgreSQL services but you can create a `description.yaml` with your own combination of [services](/features/infrastructure).
-
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
- Disk
- 1 GB
- 100 GB
-
@@ -332,7 +307,7 @@ At least one service in `services:` section is required. You can create a projec
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -411,11 +386,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -432,7 +407,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example:
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```yaml
# basic project data
@@ -462,9 +437,9 @@ S3_ACCESS_KEY_ID="P8cX1vVVb"
S3_ACCESS_SECRET="ogFthuiLYki8XoL73opSCQ"
```
-The content of the `services:` section of `import.yml` is identical to the project description file. The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the project description file. The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -478,4 +453,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the import.yml file is 100 kB.
+Maximum size of the import.yaml file is 100 kB.
diff --git a/apps/docs/content/php/how-to/customize-runtime.mdx b/apps/docs/content/php/how-to/customize-runtime.mdx
index 02dc1595..72114f78 100644
--- a/apps/docs/content/php/how-to/customize-runtime.mdx
+++ b/apps/docs/content/php/how-to/customize-runtime.mdx
@@ -13,9 +13,9 @@ The default PHP runtime environment contains:
- Git and Composer
:::note
-To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.
+To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yaml/specification#os--1) attribute.
-Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
+Additional packages and tools can be installed using [run.prepareCommands](/zerops-yaml/specification#preparecommands--1).
:::
## Runtime Flow
@@ -33,7 +33,7 @@ When the first deploy with a defined `prepareCommands` attribute is triggered, Z
1. Create a prepare runtime container
2. Optionally: [copy selected folders or files from your build container](/php/how-to/build-pipeline#copy-folders-or-files-from-your-build-container)
-3. Run the [run.prepareCommands](/zerops-yml/specification#preparecommands--1) commands in the defined order
+3. Run the [run.prepareCommands](/zerops-yaml/specification#preparecommands--1) commands in the defined order
## Command exit code
@@ -63,11 +63,11 @@ When the custom runtime cache is used, Zerops doesn't create a prepare runtime c
### Overwrite php.ini files
-You can override PHP configuration directives by setting environment variables in your `zerops.yml` file.
+You can override PHP configuration directives by setting environment variables in your `zerops.yaml` file.
Here's an example of how to adjust PHP's `post_max_size` directive:
-```yml
+```yaml
zerops:
# define hostname of your service
- setup: app
diff --git a/apps/docs/content/php/how-to/customize-web-server.mdx b/apps/docs/content/php/how-to/customize-web-server.mdx
index 1c124285..90907ea6 100644
--- a/apps/docs/content/php/how-to/customize-web-server.mdx
+++ b/apps/docs/content/php/how-to/customize-web-server.mdx
@@ -45,7 +45,7 @@ server {
The configuration contains 2 variables:
-- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yml`. If the attribute is not specified, the default value `/var/www` is used.
+- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yaml`. If the attribute is not specified, the default value `/var/www` is used.
- **`{{.PhpSocket}}`** is replaced by a path to the PHP socket based on the PHP version.
@@ -53,11 +53,11 @@ The configuration contains 2 variables:
Follow these steps to customize the Nginx configuration in PHP+Nginx service:
-1. Create a **.tmpl** file with the Nginx configuration in your repository.
+1. Create a **.tmpl** file with the Apache configuration in your repository.
2. Optionally use following variables:
-- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yml`. If the attribute is not specified, the default value `/var/www` is used.
+- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yaml`. If the attribute is not specified, the default value `/var/www` is used.
Example:
@@ -73,7 +73,7 @@ Example:
fastcgi_pass unix:{{.PhpSocket}};
```
-- **`{{.Environment.ENV_NAME}}`** is replaced by the [env variable](/php/how-to/env-variables) value. The env variable must be either defined in [run.envVariables](/php/how-to/build-pipeline#envvariables-1) in `zerops.yml` or set as a [secret](/php/how-to/env-variables#set-secret-env-variables-in-zerops-gui) or [generated](/php/how-to/env-variables#generated-env-variables) env variable in Zerops GUI.
+- **`{{.Environment.ENV_NAME}}`** is replaced by the [env variable](/php/how-to/env-variables) value. The env variable must be either defined in [run.envVariables](/php/how-to/build-pipeline#envvariables-1) in `zerops.yaml` or set as a [secret](/php/how-to/env-variables#set-secret-env-variables-in-zerops-gui) or [generated](/php/how-to/env-variables#generated-env-variables) env variable in Zerops GUI.
:::caution
Use the **.tmpl** file extension to make Zerops interpret the file as a template. Zerops will replace the supported variables listed above.
@@ -82,12 +82,12 @@ Use the **.tmpl** file extension to make Zerops interpret the file as a template
3. Check that your Nginx configuration is consistent with Zerops requirements:
- Do not use IP addresses in the `listen` directive
-- If you use other ports than `:80` in the `listen` directive, add them to the `run.ports` in your `zerops.yml` as well.
+- If you use other ports than `:80` in the `listen` directive, add them to the `run.ports` in your `zerops.yaml` as well.
- Do not use the port **:443**. All the incoming `https://` traffic is terminated on the Zerops internal balancer where the SSL certificate is installed and the request is forwarded to your PHP+Nginx service as a **http://** on the port **:80**.
-4. Add the `siteConfigPath` to the run section of your `zerops.yml`
+4. Add the `siteConfigPath` to the run section of your `zerops.yaml`
-```yml
+```yaml
zerops:
# define hostname of your service
- setup: app
@@ -146,7 +146,7 @@ The default PHP+Apache service has following Apache configuration:
The configuration contains 2 variables:
-- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yml`. If the attribute is not specified, the default value `/var/www` is used.
+- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yaml`. If the attribute is not specified, the default value `/var/www` is used.
- **`{{.PhpSocket}}`** is replaced by a path to the PHP socket based on the PHP version.
@@ -158,7 +158,7 @@ Follow these steps to customize the Apache configuration in PHP+Apache service:
2. Optionally use following variables:
-- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yml`. If the attribute is not specified, the default value `/var/www` is used.
+- **`{{.DocumentRoot}}`** is replaced by the `run.documentRoot` attribute from the `zerops.yaml`. If the attribute is not specified, the default value `/var/www` is used.
Example:
@@ -176,7 +176,7 @@ Example:
```
-- **`{{.Environment.ENV_NAME}}`** is replaced by the [env variable](/php/how-to/env-variables) value. The env variable must be either defined in [run.envVariables](<(/php/how-to/build-pipeline#envvariables-1)>) in `zerops.yml` or set as a [secret](/php/how-to/env-variables#set-secret-env-variables-in-zerops-gui) or [generated](/php/how-to/env-variables#generated-env-variables) env variable in Zerops GUI.
+- **`{{.Environment.ENV_NAME}}`** is replaced by the [env variable](/php/how-to/env-variables) value. The env variable must be either defined in [run.envVariables](<(/php/how-to/build-pipeline#envvariables-1)>) in `zerops.yaml` or set as a [secret](/php/how-to/env-variables#set-secret-env-variables-in-zerops-gui) or [generated](/php/how-to/env-variables#generated-env-variables) env variable in Zerops GUI.
:::caution
Use the **.tmpl** file extension to make Zerops interpret the file as a template. Zerops will replace the supported variables listed above.
@@ -185,12 +185,12 @@ Use the **.tmpl** file extension to make Zerops interpret the file as a template
3. Check that your Apache configuration is consistent with Zerops requirements:
- Do not use IP addresses in the `
Specifies the service type and version.
- See what [PHP service types](/references/importyml/type-list#runtime-services) are currently supported.
+ See what [PHP service types](/references/import-yaml/type-list#runtime-services) are currently supported.
@@ -396,9 +371,9 @@ At least one service in `services:` section is required. You can create a projec
basic
build
- zerops.yml
+ zerops.yaml
basic
runtime
- zerops.yml
+ zerops.yaml
- secret
@@ -41,13 +41,13 @@ There are 3 different sets of env variables in Zerops:
Use the [secret env variables](/php/how-to/create#set-secret-environment-variables) for all sensitive data you don't want to store in your application code. Secret env variables are also useful if you need for testing where you need to change the value of some env variables frequently. Secret variables are managed in Zerops GUI and you don't have to redeploy your application.
-The basic build and runtime env variables are listed in your [zerops.yml](/zerops-yml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yml and redeploy your application to Zerops.
+The basic build and runtime env variables are listed in your [zerops.yaml](/zerops-yaml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yaml and redeploy your application to Zerops.
You can [reference](/php/how-to/env-variables#reference-a-local-variable-in-another-variable-value) another variable of the same service or even a variable of [another service](/php/how-to/env-variables#reference-a-variable-of-another-project-service) within the same project.
## Set secret env variables in Zerops GUI
-Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yml.
+Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yaml.
-
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-
-
+Disk
- 1 GB
- 100 GB
-
`--workingDir` flag.
+The command triggers the [build pipeline](/php/how-to/trigger-pipeline) defined in `zerops.yaml`. `zerops.yaml` must be in the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
zCLI uploads all files and subdirectories of the working directory to Zerops and starts the build pipeline. If the `.gitignore` file is found, it is interpreted and the defined files and folders will be ignored.
@@ -90,14 +90,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
zCLI commands are interactive, when you press enter after `zcli push`, you will be given a list of your projects to choose from.
:::info
-You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yml` in your repository.
+You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your repository.
:::
## Manual deploy using Zerops CLI
@@ -106,7 +106,7 @@ To start only a deploy pipeline, use the Zerops CLI.
Follow these steps:
-1. Add [zerops.yml](/php/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository. Omit the build section.
+1. Add [zerops.yaml](/php/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository. Omit the build section.
2. [Install & setup zCLI](/references/cli) the Zerops command line tool.
3. Run `zcli service deploy` command.
@@ -121,8 +121,8 @@ Usage:
Flags:
--archiveFilePath string If set, zCLI creates a tar.gz archive with the application code in the required path relative
to the working directory. By default, no archive is created.
- --deployGitFolder Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --deployGitFolder Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
-h, --help the service deploy command.
--projectId string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
@@ -130,14 +130,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
`pathToFileOrDir` defines a path to one or more directories and/or files relative to the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
-`zerops.yml` must be placed in the working directory.
+`zerops.yaml` must be placed in the working directory.
:::info
-You can change the deploy pipeline when you need to. Just simply modify the `zerops.yml` in your working directory.
+You can change the deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your working directory.
:::
diff --git a/apps/docs/content/php/how-to/upgrade.mdx b/apps/docs/content/php/how-to/upgrade.mdx
index 6878f091..90c77a3d 100644
--- a/apps/docs/content/php/how-to/upgrade.mdx
+++ b/apps/docs/content/php/how-to/upgrade.mdx
@@ -3,6 +3,6 @@ title: How to upgrade the PHP version
description: Learn how to upgrade your php service's version
---
-You can upgrade or downgrade your PHP service to a different major PHP version by setting the `run.base` parameter in your `zerops.yml`. When you [trigger a new pipeline](/php/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required PHP version. If you don't specify the `run.base` attribute in your `zerops.yml`, Zerops keeps the current PHP version for your runtime.
+You can upgrade or downgrade your PHP service to a different major PHP version by setting the `run.base` parameter in your `zerops.yaml`. When you [trigger a new pipeline](/php/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required PHP version. If you don't specify the `run.base` attribute in your `zerops.yaml`, Zerops keeps the current PHP version for your runtime.
-If you want to build your application with a different major PHP version, change the `build.base` parameter in your `zerops.yml`. The `build.base` is the required attribute.
+If you want to build your application with a different major PHP version, change the `build.base` parameter in your `zerops.yaml`. The `build.base` is the required attribute.
diff --git a/apps/docs/content/php/overview.mdx b/apps/docs/content/php/overview.mdx
index 4c7f86d5..c9bfc1f4 100644
--- a/apps/docs/content/php/overview.mdx
+++ b/apps/docs/content/php/overview.mdx
@@ -23,9 +23,9 @@ As said, there is no need for coding yet, we have created a [Github repository
1. Log in/sign up to [Zerops GUI ↗](https://app.zerops.io)
-2. In the **Projects** box click on **Import a project** and paste in the following yml config ([source ↗](https://github.com/zeropsio/recipe-php-hello-world/blob/main/import-project/description.yml)):
+2. In the **Projects** box click on **Import a project** and paste in the following YAML config ([source ↗](https://github.com/zeropsio/recipe-php-hello-world/blob/main/import-project/description.yaml)):
-```yml
+```yaml
project:
name: my-first-project
services:
@@ -96,12 +96,12 @@ Do you have any questions? Check the step-by-step tutorial, browse the documenta
},
{
type: 'link',
- href: '/php/how-to/build-pipeline#add-zeropsyml-to-your-repository',
- label: 'zerops.yml',
+ href: '/php/how-to/build-pipeline#add-zeropsyaml-to-your-repository',
+ label: 'zerops.yaml',
customProps: {
icon: Icons['puzzle'],
description:
- 'See a full example of zerops.yml file to create your own app.',
+ 'See a full example of zerops.yaml file to create your own app.',
},
},
{
@@ -152,7 +152,7 @@ Have you build something that others might find useful? Don't hesitate to share
+
+
+
+ Parameter
+ Internal Connection
+ Direct IP Access (TLS)
+
+
+ Hostname/IP
+ Service hostname
+ Public IP address
+
+
+ Port
+ 5432
+ 6432
+
+
+ User
+ Identical to the service hostname
+ Same as internal
+
+
+ Password
+ Randomly generated during service creation
+ Same as internal
+
+
+ Port env variable
+ `port`
+ `portTls`
+
+
+
+
+
+:::warning
+Zerops creates a system user named `zps` with full privileges for maintenance purposes. Do not delete, change the password, or remove privileges from this user, as it will disrupt Zerops' ability to maintain the database cluster.
+:::
:::info
-Zerops creates a second DB user: `zps` for maintenance reasons with full privileges. Do not delete, change the password or remove privileges from this user, it will disrupt Zerops ability to maintain the database cluster.
+For more information about default PostgreSQL setup, users, and databases, see [Manage PostgreSQL Users and Databases](/postgresql/how-to/manage).
:::
-## Copy access details from Zerops GUI
-
-You will find the PostgreSQL access details under the **Access details** button in the project dashboard page.
-
-{/*TODO screenshot (Access detail popover)*/}
+## Connect from Services in the Same Project
-The same information is available in the service detail page in the left menu under the **Peek access details** button.
+All services within a Zerops project share a dedicated private network. There are two ways to implement connections between services in the same project:
-### PostgreSQL access parameters:
+### Method 1: Direct Connection Parameters
-| Parameter | Description |
-| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
-| **Hostname** | The service hostname specified when the PostgreSQL service was created. |
-| **Port** | **5432**Connection string env variable
+ `connectionString`
+ `connectionTlsString`
+
This port is fixed for all PostgreSQL services and cannot be customized. |
-| **User** | Zerops creates a database user automatically when the service is created. The user name is always identical to the service hostname. |
-| **Password** | Zerops sets a random password when the service is created. |
-| **Connection string** | The connection string for PostgreSQL service is:
`postgresql://${user}:${password}@{hostname}:5432` |
-
-## Connect to PostgreSQL from runtime services of the same project
-
-Projects in Zerops represent a group of one or more services. Services can be of different types (runtime services, databases, message brokers, object storage, etc.). All services of the same project share a **dedicated private network**. To connect to a service within the same project, just use the service hostname and its internal port.
-
-{/*TODO image (project example diagram)*/}
-
-#### Example
-
-To connect to PostgreSQL `database1` service, set
+You can directly use the connection parameters from Access Details:
```
host = database1
+port = 5432
user = database1
-password = **********
+password = ********** (find under Access Details)
```
-You will find the password under the [**Access details**](#copy-access-details-from-zerops-gui) button in Zerops GUI.
-
-:::caution
-Do not use SSL/TLS protocols when connecting to PostgreSQL from other runtime services in the same project. Zerops PostgreSQL is not configured to support these protocols. The security is assured by the project private network. Due to security reasons Zerops doesn't allow exposing PostgreSQL service to the internet.
-:::
-
-## Use PostgreSQL environment variables
-
-Zerops creates default environment variables for each PostgreSQL service to help you with connection from runtime services in the same project. To avoid the need to copy database access parameters manually, use environment variables in your [runtime service].
-
-### Prefix the environment variable key
-
-All services of the same project can reference environment variables from other services. To use an environment variable from one service in another service in the same project, you must prefix the environment variable key with the service hostname and underscore.
-
-#### Example
-
-To access the `connectionString` env variable of the `postgresql1` service, use `postgresql1_connectionString` as the env variable key.
-To access the `password` env variable of the `postgresql2` service, use `postgresql2_password` as the env variable key.
-
-### PostgreSQL environment variables
-
-List of service environment variables is available in Zerops GUI. Go to a PostgreSQL service detail and choose **Environment variables** in the left menu.
+### Method 2: Environment Variables (Recommended)
-{/*TODO screenshot (Service env variables table page in the PostgreSQL detail)*/}
+For better maintainability, Zerops creates environment variables for each PostgreSQL service that you can use in your application configuration. List of service environment variables is available in Zerops GUI. Go to a PostgreSQL service detail and choose **Environment variables**.
-Zerops creates following environment variables when the PostgreSQL service is created:
+To use variables from one service in another, prefix the variable name with the service hostname and underscore - to access the `connectionString` variable of `postgresql1`, use `postgresql1_connectionString`.
-| Variable | Description |
-| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| **Hostname** | The service hostname specified when the PostgreSQL service was created. |
-| **Port** | **5432**
This port is fixed for all PostgreSQL services and cannot be customized. |
-| **projectId** | ID of the project. Generated by Zerops. |
-| **serviceId** | ID of the PostgreSQL service. Generated by Zerops. |
-| **Connection string** | The connection string for PostgreSQL service is:
`postgresql://${user}:${password}@{hostname}:5432`
Connection string contains [references](/postgresql/how-to/connect#postgresql-access-parameters) to `user` and `password` variables. Each time the `user` or `password` variable is updated, the `connectionString` variable is automatically updated as well. |
-| **User** | Zerops creates a database user automatically when the service is created. The user name is always identical to the service hostname. |
-| **Password** | Zerops sets a random password when the service is created. |
+For more details on how to use environment variables, and instructions for adding your own custom variables, see the [Environment Variables](/features/env-variables) documentation.
-:::caution
-When you change the value of the password env variable, only the env variable is updated, not the actual password of the PostgreSQL user. You have to update the password of the database user manually.
-
-When you change the password of the default PostgreSQL user in the database, the new password is not synchronised to the password env variable. You have to update the `password` env variable manually.
-:::
-:::caution
-The official PostgreSQL documentation states that both `postgresql://` and `postgres://` URIs are valid. In Zerops, we chose to generate the connection string with the widely used `postgresql://` schema.
-Some softwares however require the connection string to start with the shorter `postgres://` version only, which might cause errors. To fix that, create your own environment variable with the correct URI, e.g. when your PostgreSQL service is called `db` - `postgres://${db_user}:${db_password}@${db_hostname}:${db_port}`.
+:::caution Important notes
+- When changing passwords, update both the database user password and the environment variable separately - they don't automatically synchronize.
+- While both `postgresql://` and `postgres://` URI formats are valid, Zerops uses the `postgresql://` format. If your software requires `postgres://`, create a custom environment variable with this format.
+- Do not use SSL/TLS protocols for internal connections. Security is assured by the project's private network.
:::
-You can create own custom [environment variables](/features/env-variables) for the PostgreSQL service in Zerops GUI and use them in the same way as the default variables.
+## Connect Remotely
-## Connect to PostgreSQL in Zerops remotely
-
-:::caution
-Due to security reasons Zerops doesn't allow exposing PostgreSQL service directly to the internet.
-:::
+Zerops offers two methods for connecting to your PostgreSQL database from outside the Zerops environment:
-### Start VPN connection
+### Method 1: Connect via Zerops VPN
-You can securely connect to PostgreSQL from your local workspace via Zerops VPN. Zerops VPN client is included into zCLI, the Zerops command-line tool. To start a VPN connection to the selected Zerops project, follow these steps:
+You can securely connect to PostgreSQL from your local workstation via Zerops VPN:
-1. [Install & setup zCLI](/references/cli)
+1. [Install & set up zCLI](/references/cli)
2. [Start the Zerops VPN](/references/vpn#start-vpn)
+3. Use the connection details from Access Details in the PostgreSQL service detail in Zerops GUI
+4. When finished, [stop the Zerops VPN](/references/vpn#stop-vpn)
-### Access PostgreSQL through VPN
-
-Once the VPN session is established, you have the secured connection to the project's private network in Zerops. You can access all project services locally by using their hostname. The only difference is that no [environment variables](#use-postgresql-environment-variables) are available when connected through VPN. To connect to PostgreSQL in Zerops you have to copy the [access details](#copy-access-details-from-zerops-gui) manually from Zerops GUI.
-
-:::caution
-Do not use SSL/TLS protocols when connecting to PostgreSQL over VPN. Zerops PostgreSQL is not configured to support these protocols. The security is assured by the VPN.
+:::warning Important notes
+* Do not use SSL/TLS protocols when connecting over VPN. Security is provided by the VPN tunnel.
+* If your connection over VPN doesn't work, try adding `.zerops` suffix to the service hostname (e.g., `database1.zerops`). For additional help, check the [VPN troubleshooting page](/references/vpn/troubleshooting).
:::
-### Stop VPN connection
+### Method 2: Connect via Direct IP Access
+
+Direct IP Access uses [pgBouncer](https://www.pgbouncer.org/) for connection pooling and TLS termination.
-[Stop the Zerops VPN](/references/vpn#stop-vpn) in zCLI.
+Internally, port `5432` is available without SSL. Externally, connections are secured with TLS through pgBouncer (port `6432`) before being routed to your PostgreSQL service.
-### Connect to PostgreSQL from another Zerops project
+#### Enable external access
-All services of the same project share a **dedicated private network**. You can use the service hostname to connect from one service to another within the same project.
+1. Navigate to your PostgreSQL service in the Zerops GUI and choose the **Public Access through IP Addresses** section
+2. Choose either IPv6 (available by default) or IPv4 (requires the [unique IPv4](/features/access#dedicated-ipv4-address-330-days) add-on)
+3. Open one or more ports and point them to your PostgreSQL service (the system will direct them through pgBouncer)
+ - Choose any port from 10-65435 (except 80 and 443)
+ - Select destination service and internal port
+ - Each public port can be mapped to any internal service port
+ - Multiple public ports can point to the same internal port if needed
+ - Port configurations can be set independently for IPv4 and IPv6
+4. Optionally enable firewall protection for additional security
+5. Click the **Publish X IP access change(s)** button to apply your settings
-Different Zerops projects have no special connection. They can communicate with each other only via the internet. If you need to connect to a PostgreSQL service in a Zerops project from a runtime service in another project, you need to use the [Zerops VPN](#access-postgresql-through-vpn). Due to security reasons Zerops doesn't allow exposing PostgreSQL service directly to the internet.
+For database management tools and how to manage users and databases, see [Manage PostgreSQL Users and Databases](/postgresql/how-to/manage).
\ No newline at end of file
diff --git a/apps/docs/content/postgresql/how-to/create.mdx b/apps/docs/content/postgresql/how-to/create.mdx
index 595c6725..efe641ec 100644
--- a/apps/docs/content/postgresql/how-to/create.mdx
+++ b/apps/docs/content/postgresql/how-to/create.mdx
@@ -7,6 +7,7 @@ import Image from '/src/components/Image';
import data from '@site/static/data.json';
import UnorderedList from '@site/src/components/UnorderedList';
import Video from '@site/src/components/Video';
+import ResourceTable from '/src/components/ResourceTable';
## Create PostgreSQL using Zerops GUI
@@ -106,11 +107,11 @@ Choose the CPU mode when starting a new service or change it later. The CPU mode
Vertical auto-scaling has the following default configuration:
-| | Minimum resource | Maximum resource |
-| ------------- | ---------------- | ---------------- |
-| **CPU cores** | 1 | 5 |
-| **RAM** | 0.25 GB | 8 GB |
-| **Disk** | 1 GB | 2.5 GB |
+
@@ -277,7 +278,7 @@ At least one service in the `services:` section is required. You can create a pr
-At least one service in `services:` section is required. You can create a project with multiple services. The example above contains Python and PostgreSQL services but you can create a `description.yml` with your own combination of [services](/features/infrastructure).
+At least one service in `services:` section is required. You can create a project with multiple services. The example above contains Python and PostgreSQL services but you can create a `description.yaml` with your own combination of [services](/features/infrastructure).
Specifies the service type and version.
- See what [PostgreSQL service types](/references/importyml/type-list#database-services) are currently supported.
+ See what [PostgreSQL service types](/references/import-yaml/type-list#database-services) are currently supported.
@@ -363,9 +364,9 @@ At least one service in the `services:` section is required. You can create a pr
The PostgreSQL service **hostname** and **mode** are fixed after the service is created. They can't be changed later.
:::
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -378,11 +379,11 @@ Flags:
--workingDie string Sets a custom working directory. The default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-The maximum size of the `description.yml` file is 100 kB.
+The maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -398,7 +399,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```bash
# array of project services
@@ -414,9 +415,9 @@ services:
The YAML file describes the list of one or more services that you want to add to your existing project. In the example above, one PostgreSQL service in the [single container mode](#single-container) with default [auto scaling](/postgresql/how-to/scale) configuration will be added to your project. The hostname of the new service will be set to `postgresql1`.
-The content of the `services:` section of `import.yml` is identical to the [project description file](#create-a-project-description-file). The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the [project description file](#create-a-project-description-file). The `import.yaml` never contains the `project:` section because the project already exists.
-When your `import.yml` is ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When your `import.yaml` is ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -430,4 +431,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-The maximum size of the `import.yml` file is 100 kB.
+The maximum size of the `import.yaml` file is 100 kB.
diff --git a/apps/docs/content/postgresql/how-to/export-import-data.mdx b/apps/docs/content/postgresql/how-to/export-import-data.mdx
index 6986f27f..f8ddd71f 100644
--- a/apps/docs/content/postgresql/how-to/export-import-data.mdx
+++ b/apps/docs/content/postgresql/how-to/export-import-data.mdx
@@ -3,25 +3,18 @@ title: Export or import PostgreSQL data
description: Learn how to export or import postgresql data on Zerops.
---
-## Use Adminer to export or import data
+## Use Adminer or phpMyAdmin to export or import data
+* [Adminer ↗](https://www.adminer.org) - an open source full-featured database management tool written in PHP
+* [phpMyAdmin ↗](https://www.phpmyadmin.net) - a free software tool written in PHP, intended to handle the administration of PostgreSQL over the Web
-[Adminer ↗](https://www.adminer.org) is an open source full-featured database management tool written in PHP.
-
-1. [Install Adminer to Zerops](/postgresql/how-to/manage#how-to-install-adminer-to-zerops)
-2. Use Adminer standard export or import functions
-
-## Use phpMyAdmin to export or import data
-
-[phpMyAdmin ↗](https://www.phpmyadmin.net) is a free software tool written in PHP, intended to handle the administration of PostgreSQL over the Web.
-
-1. [Install phpMyAdmin to Zerops](/postgresql/how-to/manage#how-to-install-phpmyadmin-to-zerops)
-2. Use phpMyAdmin standard export or import functions
+1. [Install the tools to Zerops](/postgresql/how-to/manage#installing-management-tools)
+2. Use their standard export or import functions
## Use a database management tool on your workstation to export or import data
Do you already use a database management tool that supports PostgreSQL on your workstation? Connect it securely to PostgreSQL from your local workspace via Zerops VPN.
-Zerops VPN client is included into zCLI, the Zerops command-line tool. To start the VPN connection, read [how to connect to PostgreSQL remotely](/postgresql/how-to/connect#connect-to-postgresql-in-zerops-remotely).
+Zerops VPN client is included into zCLI, the Zerops command-line tool. To start the VPN connection, read [how to connect to PostgreSQL remotely](/postgresql/how-to/connect#connect-remotely).
:::caution
Do not use SSL/TLS protocols when connecting to PostgreSQL over VPN. Zerops PostgreSQL is not configured to support these protocols. The security is assured by the VPN.
:::
@@ -32,9 +25,9 @@ Once the connection to PostgreSQL is established, use the standard export or imp
If you are using the [psql ↗](https://www.postgresql.org/docs/current/app-psql.html) command-line client to manage your PostgreSQL on your local workspace, you can connect it securely to PostgreSQL via Zerops VPN.
-Zerops VPN client is included into zCLI, the Zerops command-line tool. To start the VPN connection, read [how to connect to PostgreSQL remotely](/postgresql/how-to/connect#connect-to-postgresql-in-zerops-remotely).
+Zerops VPN client is included into zCLI, the Zerops command-line tool. To start the VPN connection, read [how to connect to PostgreSQL remotely](/postgresql/how-to/connect#connect-remotely).
-Once the VPN session is established, you have the secured connection to the project's private network in Zerops. You can access all project services locally by using their hostname. The only difference is that no [environment variables](/postgresql/how-to/connect#use-postgresql-environment-variables) are available when connected through VPN. To connect to PostgreSQL in Zerops you have to copy the [access details](/postgresql/how-to/connect#connect-to-postgresql-in-zerops-remotely) manually from Zerops GUI.
+Once the VPN session is established, you have the secured connection to the project's private network in Zerops. You can access all project services locally by using their hostname. The only difference is that no [environment variables](/postgresql/how-to/connect#method-2-environment-variables-recommended) are available when connected through VPN. To connect to PostgreSQL in Zerops you have to copy the [access details](/postgresql/how-to/connect#connection-details) manually from Zerops GUI.
Use [psql ↗](https://www.postgresql.org/docs/current/app-psql.html) command to connect to PostgreSQL in Zerops:
diff --git a/apps/docs/content/postgresql/how-to/manage.mdx b/apps/docs/content/postgresql/how-to/manage.mdx
index b8ef2c06..c673ecbc 100644
--- a/apps/docs/content/postgresql/how-to/manage.mdx
+++ b/apps/docs/content/postgresql/how-to/manage.mdx
@@ -1,148 +1,181 @@
---
-title: Manage PostgreSQL users and databases in Zerops
-description: Learn how you can manage postgresql users and databases on Zerops.
+title: Manage PostgreSQL Users, Databases and Plugins in Zerops
+description: Learn how to manage PostgreSQL users, databases, plugins, and use database administration tools in Zerops.
---
-## Default database and user
+import { Dropdown, DropdownItem } from '/src/components/Dropdown';
+import TabbedCodeBlocks from '/src/components/TabbedCodeBlock';
-Zerops creates a default database and a default user automatically when a new PostgreSQL service is [created](/postgresql/how-to/create).
+This guide covers how to manage your PostgreSQL databases in Zerops, including default setup, database management tools, plugins, and best practices.
-#### Database
+## Default Database and User
-The default database name is identical to the service hostname. The default encoding is set to `utf8mb4`.
+Zerops creates a default database and user automatically when a new PostgreSQL service is [created](/postgresql/how-to/create).
-#### DB user
+### Database
-Default user name is identical to the service hostname. Default user password is generated randomly. You will find the password in [Zerops GUI](/postgresql/how-to/connect#copy-access-details-from-zerops-gui) or you can use the [environment variable](/postgresql/how-to/connect#use-postgresql-environment-variables).
+- **Name**: Identical to the service hostname
+- **Encoding**: `utf8mb4`
-:::info
-Zerops creates a second DB user: `zps` for maintenance reasons with full privileges. Do not delete, change the password or remove privileges from this user, it will disrupt Zerops ability to maintain the database cluster.
-:::
-
-## How to install Adminer to Zerops
-
-[Adminer ↗](https://www.adminer.org) is a open source full-featured database management tool written in PHP.
-
-### Single-click installation
-
-To install Adminer into your project, open your project in Zerops GUI and select **import services** in the left menu.
-
-Copy the following yaml file into the text area and start the import:
-
-```yml
-services:
- - # Service will be accessible through zCLI VPN under: http://adminer
- hostname: adminer
- # Type and version of service used.
- type: php-apache@8.0+2.4
- # Whether the service will be run on one or multiple containers.
- # Since this is a utility service, using a single container is fine.
- minContainers: 1
- maxContainers: 1
- # Folder name used as the root of the publicly accessible web server content.
- documentRoot: public
- # Link to Zerops repository that contains Adminer code with Zerops build and deploy instructions.
- buildFromGit: https://github.com/zeropsio/recipe-adminer@main
-```
-
-When the import is finished, Adminer will be running as a PHP service in your project.
-
-## How to access Adminer
-
-### Use Zerops VPN
+### DB User
-By default Adminer service is private and is accessible from your local workstation over VPN.
+- **Username**: Identical to the service hostname
+- **Password**: Generated randomly
-You can securely connect to PostgreSQL from your local workspace via Zerops VPN. Zerops VPN client is included into zCLI, the Zerops command-line tool. To start a VPN connection to the selected Zerops project, follow these steps:
-
-1. [Install & setup zCLI](/references/cli)
-2. [Start the Zerops VPN](/references/vpn)
-3. Type `http://adminer` into your browser
-
-:::caution
-Do not use https when connecting to Adminer via VPN.
+:::info
+For connection methods and environment variables, see the [Connect to PostgreSQL in Zerops](/postgresql/how-to/connect) page.
:::
-### Enable public access
-
-You can enable the public access to the Adminer service via the [Zerops subdomain].
+:::caution Important notes
+- When changing passwords, update both the database user password and the environment variable separately - they don't automatically synchronize.
+- While both `postgresql://` and `postgres://` URI formats are valid, Zerops uses the `postgresql://` format. If your software requires `postgres://`, create a custom environment variable with this format.
+- Do not use SSL/TLS protocols for internal connections. Security is assured by the project's private network.
+:::
-Or you can configure the [Public routing] on the Adminer service to make it accessible on your own domain.
+## Database Management Tools
-## How to install phpMyAdmin to Zerops
+You can use any PostgreSQL management tool of your choice to administer your databases in Zerops. For convenience, Zerops provides ready-to-use recipes for two popular web-based database management tools:
-[phpMyAdmin ↗](https://www.phpmyadmin.net) is a free software tool written in PHP, intended to handle the administration of PostgreSQL over the Web.
+* [AdminerEvo](https://github.com/adminerevo/adminerevo) - developed by the AdminerEvo community and is a continuation of the [Adminer](https://www.adminer.org) project by Jakub Vrána
+* [phpMyAdmin](https://www.phpmyadmin.net) - a popular free database administration tool that works with both MySQL and PostgreSQL databases
-### Single-click installation
+### Installing Management Tools
-To install phpMyAdmin into your project, open your project in Zerops GUI and select **import services** in the left menu.
+You can install these tools with a simple one-click import in Zerops:
-Copy the following yaml file into the text area and start the import:
+1. In Zerops GUI, open your project and select **Import services** from the left menu
+2. Copy and paste one of the following YAML configurations:
-```yml
-services:
- - # Service will be accessible through zCLI VPN under: http://phpmyadmin
- hostname: phpmyadmin
- # Type and version of service used.
+
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-Disk
- 5 GB
- 100 GB
-
@@ -335,7 +311,7 @@ At least one service in `services:` section is required. You can create a projec
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -414,11 +390,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -434,7 +410,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example:
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```yaml
# basic project data
@@ -464,9 +440,9 @@ S3_ACCESS_KEY_ID="P8cX1vVVb"
S3_ACCESS_SECRET="ogFthuiLYki8XoL73opSCQ"
```
-The content of the `services:` section of `import.yml` is identical to the project description file. The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the project description file. The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -480,4 +456,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the import.yml file is 100 kB.
+Maximum size of the import.yaml file is 100 kB.
diff --git a/apps/docs/content/python/how-to/customize-runtime.mdx b/apps/docs/content/python/how-to/customize-runtime.mdx
index a755a0d7..5e7e4aa1 100644
--- a/apps/docs/content/python/how-to/customize-runtime.mdx
+++ b/apps/docs/content/python/how-to/customize-runtime.mdx
@@ -22,9 +22,9 @@ The default Python runtime environment contains:
- Git and PIP
:::note
-To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.
+To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yaml/specification#os--1) attribute.
-Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
+Additional packages and tools can be installed using [run.prepareCommands](/zerops-yaml/specification#preparecommands--1).
:::
## Runtime Flow
diff --git a/apps/docs/content/python/how-to/deploy-process.mdx b/apps/docs/content/python/how-to/deploy-process.mdx
index e7d25f8d..97211a54 100644
--- a/apps/docs/content/python/how-to/deploy-process.mdx
+++ b/apps/docs/content/python/how-to/deploy-process.mdx
@@ -40,7 +40,7 @@ Zerops performs following actions for each new container:
Services with multiple containers are deployed in parallel.
:::info
-If your application needs to be initialized in each runtime container, add [init commands](/python/how-to/build-pipeline#initcommands) to `zerops.yml`.
+If your application needs to be initialized in each runtime container, add [init commands](/python/how-to/build-pipeline#initcommands) to `zerops.yaml`.
:::
:::caution
@@ -58,7 +58,7 @@ The old containers are then removed from the project balancer so they don't rece
## Readiness checks
-If your application isn't ready to handle requests right after it is started via the [start command](/python/how-to/build-pipeline#start), configure a [readiness check](/python/how-to/build-pipeline#readiness-check) in your `zerops.yml`.
+If your application isn't ready to handle requests right after it is started via the [start command](/python/how-to/build-pipeline#start), configure a [readiness check](/python/how-to/build-pipeline#readiness-check) in your `zerops.yaml`.
If the readiness check is defined, Zerops will:
@@ -94,7 +94,7 @@ The list of application versions is available in Zerops GUI. Go to the service d
The pipeline detail is accessible from the additional menu. The pipeline detail contains
-- The pipeline config (`zerops.yml`) that was used for the selected version
+- The pipeline config (`zerops.yaml`) that was used for the selected version
- The build log (if available)
- The prepare runtime log (if available)
diff --git a/apps/docs/content/python/how-to/env-variables.mdx b/apps/docs/content/python/how-to/env-variables.mdx
index 99ce45a8..0345b09d 100644
--- a/apps/docs/content/python/how-to/env-variables.mdx
+++ b/apps/docs/content/python/how-to/env-variables.mdx
@@ -23,12 +23,12 @@ There are 3 different sets of env variables in Zerops:
Specifies the service type and version.
- See what [Python service types](/references/importyml/type-list#runtime-services) are currently supported.
+ See what [Python service types](/references/import-yaml/type-list#runtime-services) are currently supported.
@@ -399,9 +375,9 @@ At least one service in `services:` section is required. You can create a projec
basic
build
- zerops.yml
+ zerops.yaml
basic
runtime
- zerops.yml
+ zerops.yaml
- secret
@@ -41,13 +41,13 @@ There are 3 different sets of env variables in Zerops:
Use the [secret env variables](/python/how-to/create#set-secret-environment-variables) for all sensitive data you don't want to store in your application code. Secret env variables are also useful if you need for testing where you need to change the value of some env variables frequently. Secret variables are managed in Zerops GUI and you don't have to redeploy your application.
-The basic build and runtime env variables are listed in your [zerops.yml](/zerops-yml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yml and redeploy your application to Zerops.
+The basic build and runtime env variables are listed in your [zerops.yaml](/zerops-yaml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yaml and redeploy your application to Zerops.
You can [reference](/python/how-to/env-variables#reference-a-local-variable-in-another-variable-value) another variable of the same service or even a variable of [another service](/python/how-to/env-variables#reference-a-variable-of-another-project-service) within the same project.
## Set secret env variables in Zerops GUI
-Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yml.
+Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yaml.
-
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-
-
+Disk
- 1 GB
- 100 GB
-
`--workingDir` flag.
+The command triggers the [build pipeline](/python/how-to/trigger-pipeline) defined in `zerops.yaml`. `zerops.yaml` must be in the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
zCLI uploads all files and subdirectories of the working directory to Zerops and starts the build pipeline. If the `.gitignore` file is found, it is interpreted and the defined files and folders will be ignored.
@@ -90,14 +90,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
zCLI commands are interactive, when you press enter after `zcli push`, you will be given a list of your projects to choose from.
:::info
-You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yml` in your repository.
+You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your repository.
:::
## Manual deploy using Zerops CLI
@@ -106,7 +106,7 @@ To start only a deploy pipeline, use the Zerops CLI.
Follow these steps:
-1. Add [zerops.yml](/python/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository. Omit the build section.
+1. Add [zerops.yaml](/python/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository. Omit the build section.
2. [Install & setup zCLI](/references/cli) the Zerops command line tool.
3. Run `zcli service deploy` command.
@@ -121,8 +121,8 @@ Usage:
Flags:
--archiveFilePath string If set, zCLI creates a tar.gz archive with the application code in the required path relative
to the working directory. By default, no archive is created.
- --deployGitFolder Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --deployGitFolder Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
-h, --help the service deploy command.
--projectId string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
@@ -130,14 +130,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
`pathToFileOrDir` defines a path to one or more directories and/or files relative to the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
-`zerops.yml` must be placed in the working directory.
+`zerops.yaml` must be placed in the working directory.
:::info
-You can change the deploy pipeline when you need to. Just simply modify the `zerops.yml` in your working directory.
+You can change the deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your working directory.
:::
diff --git a/apps/docs/content/python/how-to/upgrade.mdx b/apps/docs/content/python/how-to/upgrade.mdx
index 0e314693..33162f47 100644
--- a/apps/docs/content/python/how-to/upgrade.mdx
+++ b/apps/docs/content/python/how-to/upgrade.mdx
@@ -3,6 +3,6 @@ title: How to upgrade the Python version
description: Learn how to upgrade your python service's version
---
-You can upgrade or downgrade your Python service to a different major Python version by setting the `run.base` parameter in your `zerops.yml`. When you [trigger a new pipeline](/python/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Python version. If you don't specify the `run.base` attribute in your `zerops.yml`, Zerops keeps the current Python version for your runtime.
+You can upgrade or downgrade your Python service to a different major Python version by setting the `run.base` parameter in your `zerops.yaml`. When you [trigger a new pipeline](/python/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Python version. If you don't specify the `run.base` attribute in your `zerops.yaml`, Zerops keeps the current Python version for your runtime.
-If you want to build your application with a different major Python version, change the `build.base` parameter in your `zerops.yml`. The `build.base` is the required attribute.
+If you want to build your application with a different major Python version, change the `build.base` parameter in your `zerops.yaml`. The `build.base` is the required attribute.
diff --git a/apps/docs/content/python/overview.mdx b/apps/docs/content/python/overview.mdx
index c7ae04d3..644e5ee1 100644
--- a/apps/docs/content/python/overview.mdx
+++ b/apps/docs/content/python/overview.mdx
@@ -23,9 +23,9 @@ As said, there is no need for coding yet, we have created a [Github repository
1. Log in/sign up to [Zerops GUI ↗](https://app.zerops.io)
-2. In the **Projects** box click on **Import a project** and paste in the following yml config ([source ↗](https://github.com/zeropsio/recipe-python-hello-world/blob/main/import-project/description.yml)):
+2. In the **Projects** box click on **Import a project** and paste in the following YAML config ([source ↗](https://github.com/zeropsio/recipe-python-hello-world/blob/main/import-project/description.yaml)):
-```yml
+```yaml
project:
name: my-first-project
services:
@@ -95,12 +95,12 @@ Do you have any questions? Check the step-by-step tutorial, browse the documenta
},
{
type: 'link',
- href: '/python/how-to/build-pipeline#add-zeropsyml-to-your-repository',
- label: 'zerops.yml',
+ href: '/python/how-to/build-pipeline#add-zeropsyaml-to-your-repository',
+ label: 'zerops.yaml',
customProps: {
icon: Icons['puzzle'],
description:
- 'See a full example of zerops.yml file to create your own app.',
+ 'See a full example of zerops.yaml file to create your own app.',
},
},
{
@@ -151,7 +151,7 @@ Have you build something that others might find useful? Don't hesitate to share
2. Create a project.
3. In the left menu, click on Import services, copy & paste the
- contents of the `import-services.yml` config file from the recipe
+ contents of the `import-services.yaml` config file from the recipe
repository of your choice. Then click on Import service.
2. Create a project.
3. In the left menu, click on Import services, copy & paste the
- contents of this yaml file and click on Import service.
+ contents of this yaml file and click on Import service.
+
+
\ No newline at end of file
diff --git a/apps/docs/content/references/cli.mdx b/apps/docs/content/references/cli.mdx
index 0d53e9df..65afba04 100644
--- a/apps/docs/content/references/cli.mdx
+++ b/apps/docs/content/references/cli.mdx
@@ -6,9 +6,9 @@ description: Learn how to install and use zCLI, the powerful command-line tool f
import CustomCard from '/src/components/CustomCard';
import Image from '/src/components/Image';
-## What is zCLI?
+zCLI is the command-line tool for Zerops that allows users to manage services, simplify interactions, and configure infrastructure directly from the terminal.
-zCLI is the command-line tool for Zerops that allows users to manage services, simplify interactions, configure infrastructure directly from the terminal.
+For detailed information, see the [Configuration](/references/cli/configuration) and [Commands Reference](/references/cli/commands) pages.
## Platforms
@@ -20,20 +20,17 @@ zCLI currently supports:
## Get started
-To get started, you may install **zCLI** globally using [NPM](https://www.npmjs.com) or [Yarn](https://yarnpkg.com/) package manager:
+### Manual Installation
-```sh
-npm i -g @zerops/zcli
-```
+To download the zCLI directly, get the [latest release](https://github.com/zeropsio/zcli/releases) from GitHub.
+
+### Linux/MacOS
```sh
-yarn global add @zerops/zcli
+curl -L https://zerops.io/zcli/install.sh | sh
```
-
+
+
+
+ Group
+ Description
+
+
+ /app-version
+ Manage application versions, builds, and deployments
+
+
+ /auth
+ Authentication and token management
+
+
+ /billing
+ Billing operations and payment management
+
+
+ /client
+ Client account management
+
+
+ /client-user
+ User management within client accounts
+
+
+ /github
+ GitHub repository connections and authorization
+
+
+ /gitlab
+ GitLab repository connections and authorization
+
+
+ /project
+ Project management operations
+
+
+ /project-env
+ Project environment variables management
+
+
+ /public-http-routing
+ HTTP routing configuration
+
+
+ /public-port-routing
+ Port routing and firewall rules configuration
+
+
+ /service-stack
+ Service stack operations and configuration
+
+
+ /settings
+ System settings and configurations
+
+
+ /user
+ User account management
+
+
+ /user-data
+ Environment variables management
+
+
+ /user-notification
+ User notifications management
+
+
+
+/user-token
+ Personal access tokens management
+ service push
command.
-- `enable-subdomain`
+### service start/stop
- - `--projectId
@@ -150,64 +154,183 @@ The project configuration is used to define the project you want to import.
-
-
project
+ project
object
-
- _REQUIRED, if a whole project is imported_
- Only one project can be defined.
-
+ _REQUIRED, if a whole project is imported_
Only one project can be defined.
-
name
+ name
string, REQUIRED
-
- The name of the new project. Duplicates are allowed.
-
+ The name of the new project. Duplicates are allowed.
-
description
- string
-
- Description of the new project.
-
+ description
+ string
+ Description of the new project.
-
+ tags
+ corePackage
+ string
+ [Core package](/features/infrastructure#project-core) of the new project.
+
Values: LIGHT/SERIOUS (default LIGHT)
+
+ tags
list of strings
-
- One or more string tags. Tags do not have a functional meaning, they only provide better orientation in projects.
-
+ One or more string tags.
+
Tags provide better orientation in projects.
+
envVariables
+ map[string]string
+ [Project-level environment variables](/features/env-variables#project-variables) that are available to all services in the project.
@@ -219,14 +342,12 @@ The service configuration is used to define the services, environment variables,
-
services
+ services
list of objects, REQUIRED
-
- At least one service is required.
-
+ At least one service is required.
-
hostname
+ hostname
string, REQUIRED
The unique service identifier.
@@ -236,36 +357,32 @@ The service configuration is used to define the services, environment variables,
-
type
+ type
enum, REQUIRED
-
- Specifies the service type and version. See [supported types](/references/importyml/type-list).
-
+ Specifies the service type and version. See [supported types](/references/import-yaml/type-list).
-
mode
+ mode
enum
-
- Values: **HA / NON_HA** (default NON_HA)
- Defines the operation mode of the service.
-
+ Values: HA / NON_HA (default NON_HA)
Defines the operation mode of the service.
-
envSecrets
+ envSecrets
map[string]string
-
- Environment variables that are blurred by default in Zerops GUI. Can be edited or deleted in Zerops GUI.
-
+ Environment variables that are blurred by default in Zerops GUI. Can be edited or deleted in Zerops GUI.
-
+ objectStorageSize
+ dotEnvSecrets
+ string (multiline)
+ Environment variables in .env file format that are automatically created as secret envs.
+
+
objectStorageSize
integer
-
- Object storage size in GB.
-
+ Object storage size in GB.
-
objectStoragePolicy
+ objectStoragePolicy
enum
Values: **private / public-read / public-objects-read / public-write / public-read-write / custom**
@@ -273,7 +390,7 @@ The service configuration is used to define the services, environment variables,
-
objectStorageRawPolicy
+ objectStorageRawPolicy
json
Define your own AWS S3 bucket access policy. See [AWS docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-policy-language-overview.html) for details.
@@ -281,46 +398,56 @@ The service configuration is used to define the services, environment variables,
-
buildFromGit
+ buildFromGit
string (URL)
A URL of a Github or Gitlab repository used for a one-time build of your service.
-
enableSubdomainAccess
+ enableSubdomainAccess
boolean
- Default: false
+ Default: `false`
Set `true`, if you want to enable a public access to your service via a Zerops subdomain. Not suitable for production.
-
+ priority
+ priority
integer
Services are sorted before creation by priority in descending order, i.e. the higher the priority the sooner the service is created.
+
override
+ boolean
+
+ Default: `false`
+
+ This only works for **runtime** services.
+ The parameter allows you to replace an existing runtime service with the same hostname byt triggering a redeploy if the service already exists.
+
@@ -367,78 +497,78 @@ The vertical autoscaling configuration is used to define the vertical autoscalin
-At least one service in `services:` section is required. You can create a project with multiple services. The example above contains Rust and PostgreSQL services but you can create a `description.yml` with your own combination of [services](/features/infrastructure).
+At least one service in `services:` section is required. You can create a project with multiple services. The example above contains Rust and PostgreSQL services but you can create a `description.yaml` with your own combination of [services](/features/infrastructure).
-
minVCpu
+ minCpu
integer
Minimum number of virtual CPUs
-
maxVCpu
+ maxCpu
integer
Maximum number of virtual CPUs
-
cpuMode
+ cpuMode
enum
Values: **SHARED / DEDICATED**
-
minRam
+ minRam
float
Minimum RAM in GB that each container of the service can scale down to.
-
maxRam
+ maxRam
float
Maximum RAM in GB that each container of the service can scale up to.
-
minDisk
+ minDisk
float
Minimum disk space in GB that each container of the service can scale down to.
-
maxDisk
+ maxDisk
float
Maximum disk space in GB that each container of the service can scale up to.
-
startCpuCoreCount
+ startCpuCoreCount
integer
Number of CPU cores with which each container starts.
-
minFreeCpuCores
+ minFreeCpuCores
float
Minimum number of unused CPU cores before a container starts scaling.
-
minFreeCpuPercent
+ minFreeCpuPercent
float
Minimum percentage of unused CPU cores before a container starts scaling.
-
minFreeRamGB
+ minFreeRamGB
float
Minimum unused memory in GB before a container starts scaling.
- minFreeRamPercent
+ minFreeRamPercent
float
Minimum percentage of unused memory before a container starts scaling.
@@ -449,73 +579,64 @@ The vertical autoscaling configuration is used to define the vertical autoscalin
-```yml
+```yaml
services:
- hostname: app
- type: php-nginx@8.4
- buildFromGit: https://github.com/example/app
+ type: nodejs@22
+ buildFromGit: https://github.com/myorg/myapp
enableSubdomainAccess: true
verticalAutoscaling:
- minVCpu: 1
- maxVCpu: 5
- # Choose SHARED or DEDICATED
- cpuMode: DEDICATED
- minRam: 1
- maxRam: 32
- minDisk: 1
- maxDisk: 100
- startCpuCoreCount:
- minFreeCpuCores:
- minFreeCpuPercent:
- minFreeRamGB:
- minFreeRamPercent:
+ minCpu: 1 # Minimum number of virtual CPUs
+ maxCpu: 3 # Maximum number of virtual CPUs
+ cpuMode: DEDICATED # SHARED or DEDICATED CPU mode
+ minRam: 1 # Minimum RAM in GB
+ maxRam: 4 # Maximum RAM in GB
+ minDisk: 1 # Minimum disk space in GB
+ maxDisk: 10 # Maximum disk space in GB
+ startCpuCoreCount: 2 # Initial CPU core count
+ minFreeCpuCores: 0.5 # Min free CPU cores before scaling
+ minFreeCpuPercent: 20 # Min free CPU percentage before scaling
+ minFreeRamGB: 0.5 # Min free RAM in GB before scaling
+ minFreeRamPercent: 20 # Min free RAM percentage before scaling
```
This yaml will create a service with the hostname `app` with `php-nginx@8.4` runtime with `HA` High-Availability mode for vertical autoscaling:
-- CPU: `1-5` virtual CPUs in `DEDICATED` mode
-- RAM: `1-32 GB`
-- Disk Space: `1-100 GB`
-
-The `VerticalAutoscaling` map allows you to define the vertical autoscaling settings for the service with parameters like `minVCpu`, `maxVCpu`, `cpuMode`, `minRam`, `maxRam`, `minDisk`, `maxDisk`, `startCpuCoreCount`, `minFreeCpuCores`, `minFreeCpuPercent`, `minFreeRamGB`, `minFreeRamPercent`.
+- CPU: `1-3` virtual CPUs in `DEDICATED` mode
+- RAM: `1-4 GB`
+- Disk Space: `1-10 GB`
-### Horizontal Autoscaling Configuration
+### Service Horizontal Autoscaling
The horizontal autoscaling configuration is used to define the horizontal autoscaling settings for the service.
-#### Usage
-
-
-
-
-```yml
+```yaml
services:
- hostname: app
- type: php-nginx@8.4
- buildFromGit: https://github.com/example/app
+ type: nodejs@22
+ buildFromGit: https://github.com/zeropsio/recipe-php
enableSubdomainAccess: true
# Minimum number of containers
minContainers: 2
@@ -523,13 +644,11 @@ services:
maxContainers: 6
```
-The `minContainers` and `maxContainers` parameters allow you to define the minimum and maximum number of containers(It automatically scales the service between the minimum and maximum number of containers) for the service.
+The `minContainers` and `maxContainers` parameters allow you to define the minimum and maximum number of containers for the service. The service will automatically scale between these values as needed.
-### Mount Shared Storage
+### Service Mount Shared Storage
-The mount shared storage configuration is used to define the shared storage to mount to the service.
-
-#### Usage
+The mount shared storage configuration defines which shared storage services should be mounted to the service.
-
-
-
- Field
- Type
- Description
-
-
+minContainers
- integer
- Default: 1, maximum value: 6 - Minimum number of containers of the service.
-
+
-
-
+
+
+
-
-
- maxContainers
- integer
- Maximum value: 6 - Maximum number of containers of the service.
+ Field
+ Type
+ Description
+
+minContainers
+ integer
+ Minimum number of containers of the service.
+
Default: 1, maximum value: 10
+
+
+maxContainers
+ integer
+ Maximum number of containers of the service.
+
Maximum value: 10
@@ -541,31 +660,28 @@ The mount shared storage configuration is used to define the shared storage to m
-```yml
+```yaml
services:
- hostname: app
- type: php-nginx@8.4
- buildFromGit: https://github.com/example/app
+ type: nodejs@22
+ buildFromGit: https://github.com/myorg/myapp
enableSubdomainAccess: true
mount:
- teststorage1
```
-The `mount: |-` parameter allows you to mount a shared storage(should be created inside the project) to the service.
-
-
-### Using Nginx Configuration
+The `mount:` parameter allows you to mount a shared storage (which should be created inside the project) to the service.
-The nginx configuration is used to define the nginx settings for the service.
+### Service Nginx Configuration
-#### Usage
+The nginx configuration defines the nginx settings for the service.
-
mount
+ mount
list of strings
Mount shared storage to the service. `buildFromGit` must be filled.
@@ -577,22 +693,19 @@ The nginx configuration is used to define the nginx settings for the service.
-```yml
+```yaml
#yamlPreprocessor=on
services:
- hostname: app
type: php-nginx@8.4
- buildFromGit: https://github.com/example/app
enableSubdomainAccess: true
- envSecrets:
- APP_KEY: <@generateRandomString(<32>)>
nginxConfig: |-
server {
listen 80 default_server;
@@ -610,13 +723,11 @@ services:
}
```
-The `nginxConfig: |-` parameter allows you to use a custom nginx configuration for the service.
-
-### Using zerops.yml Configuration
+The `nginxConfig: |-` parameter allows you to specify a custom nginx configuration for the service.
-This shows you how you can use the `zeropsSetup` parameter as a way to insert a full [zerops.yml configuration file](/zerops-yml/specification) into your service using import yaml.
+### Service zerops.yaml Configuration
-#### Usage
+The `zeropsSetup` and `zeropsYaml` parameters provide flexibility in how you define and use your service configurations. Both parameters are optional and work together in the following ways:
-
nginxConfig
+ nginxConfig
string (multiline)
Insert full nginx config.
@@ -628,39 +739,57 @@ This shows you how you can use the `zeropsSetup` parameter as a way to insert a
-```yml
-#yamlPreprocessor=on
+```yaml
services:
- hostname: app
- type: php-nginx@8.4
- buildFromGit: https://github.com/example/app
- enableSubdomainAccess: true
- envSecrets:
- APP_KEY: <@generateRandomString(<32>)>
- zeropsSetup:
- build:
- base: php-nginx@8.4
- buildCommands:
- - composer install
- deployFiles: ./
- cache: vendor
- run:
- initCommands:
- - |
- if ! zcli bucket s3 create $STORAGE_HOSTNAME $STORAGE_BUCKET_NAME --x-amz-acl=private; then
- echo "The bucket was not created, you have to do it manually!"
- fi
- start: yarn start
+ type: nodejs@22
+ buildFromGit: https://github.com/myorg/myapp
+ # Specify which setup to use from zerops.yaml
+ zeropsSetup: backendapi
+ # Full zerops.yaml configuration
+ zeropsYaml:
+ zerops:
+ - setup: backendapi
+ build:
+ base: nodejs@18
+ buildCommands:
+ - npm ci
+ - npm run build
+ deployFiles: ./dist
+ cache: node_modules
+ run:
+ initCommands:
+ - npm run db:migrate
+ start: npm start
```
-The `zeropsSetup: |-` parameter allows you to use a custom [zerops.yml](/zerops-yml/specification) configuration for the service.
+#### How They Work Together
+
+- **Neither parameter specified**:
+ - The system looks for a `zerops.yaml` file in the repository root
+ - It searches for a setup with a name that matches the service hostname
+- **Only `zeropsSetup` specified**:
+ - The system looks for a setup with the specified name in the `zerops.yaml` file in the repository root
+- **Only `zeropsYaml` specified**:
+ - The system uses the provided YAML configuration instead of looking for a file in the repository
+ - It searches for a setup with a name that matches the service hostname
+- **Both parameters specified**:
+ - The system uses the provided `zeropsYaml` configuration
+ - It specifically looks for the setup named in `zeropsSetup` within that YAML
+
+If the specified `zeropsSetup` does not exist in the available YAML configuration (either provided in `zeropsYaml` or found in the repository), the import will fail.
## Export
@@ -675,14 +804,14 @@ The exported YAML follows the same structure as the import YAML configuration de
### How to Export
#### Exporting a Single Service
-Navigate to your service dashboard in the Zerops GUI, click the three-dot menu (⋮), and choose **Export service as yaml**.
+Navigate to your service dashboard in the Zerops GUI, click the three-dot menu (⋮) in the top-right corner of the service card, and choose **Export service as yaml**.
#### Exporting an Entire Project
-In the Zerops GUI, click the three-dot menu (⋮) in the project dashboard and select **Export project as yaml**.
+In the Zerops GUI, go to the project dashboard, click the three-dot menu (⋮) in the top-right corner of the project card, and select **Export project as yaml**.
### Using Exported Configurations
-The exported YAML files are compatible with both:
+The exported YAML files are compatible with:
- The Zerops GUI import functionality
- The `zcli project project-import` command
- The `zcli project service-import` command (for single service exports)
diff --git a/apps/docs/content/references/ssh.mdx b/apps/docs/content/references/ssh.mdx
index d86693a0..922e20c4 100644
--- a/apps/docs/content/references/ssh.mdx
+++ b/apps/docs/content/references/ssh.mdx
@@ -16,14 +16,14 @@ Before establishing an SSH connection to your runtime service, you must first co
### 1. Configure VPN Access
-The [Zerops CLI (zCLI)](/references/cli) comes bundled with the [Zerops VPN](/references/vpn) client. To connect to your [Zerops project](/features/infrastructure#project):
+The [Zerops CLI (zCLI)](/references/cli) comes bundled with the [Zerops VPN](/references/vpn) client. To connect to your [Zerops project](/features/infrastructure#projects):
1. [Install and configure zCLI](/references/cli)
2. [Initialize the Zerops VPN connection](/references/vpn#start-vpn)
### 2. Establish SSH Connection
-Once your VPN session is active, you can connect to any [service](/features/infrastructure#services--containers) using its hostname:
+Once your VPN session is active, you can connect to any [service](/features/infrastructure#services) using its hostname:
```sh
ssh
-
+ zeropsSetup
- string or object
- Provide the name of the service from your zerops.yml (find it under `-setup: {name}`) or insert full [zerops.yml configuration file](/zerops-yml/specification).
+ zeropsSetup
+ string
+ Specifies which service setup to use. This should match a setup name found in either the `zeropsYaml` parameter (if provided) or the `zerops.yaml` file in the repository root. If not specified, defaults to the service hostname.
+
+
zeropsYaml
+ object
+ Contains the full [zerops.yaml configuration](/zerops-yaml/specification). If provided, this will be used instead of looking for a `zerops.yaml` file in the repository.
-
-
-
+
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
- Disk
- 1 GB
- 100 GB
-
@@ -336,7 +311,7 @@ At least one service in `services:` section is required. You can create a projec
-### Create a project based on the description.yml
+### Create a project based on the description.yaml
-When you have your `description.yml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
+When you have your `description.yaml` ready, use the `zcli project project-import` command to create a new project and the service infrastructure.
```sh
Usage:
@@ -433,11 +408,11 @@ Flags:
--workingDie string Sets a custom working directory. Default working directory is the current directory. (default "./")
```
-Zerops will create a project and one or more services based on the `description.yml` content.
+Zerops will create a project and one or more services based on the `description.yaml` content.
-Maximum size of the `description.yml` file is 100 kB.
+Maximum size of the `description.yaml` file is 100 kB.
-You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yml`.
+You don't specify the project name in the `zcli project project-import` command, because the project name is defined in the `description.yaml`.
If you have access to more than one client, you must specify the client ID for which the project is to be created. The `clientID` is located in the Zerops GUI under the client name on the project dashboard page.
@@ -453,7 +428,7 @@ If you have access to more than one client, you must specify the client ID for w
#### Example:
-Create a directory `my-project` if it doesn't exist. Create an `import.yml` file inside the `my-project` directory with following content:
+Create a directory `my-project` if it doesn't exist. Create an `import.yaml` file inside the `my-project` directory with following content:
```yaml
# basic project data
@@ -483,9 +458,9 @@ S3_ACCESS_KEY_ID="P8cX1vVVb"
S3_ACCESS_SECRET="ogFthuiLYki8XoL73opSCQ"
```
-The content of the `services:` section of `import.yml` is identical to the project description file. The `import.yml` never contains the `project:` section because the project already exists.
+The content of the `services:` section of `import.yaml` is identical to the project description file. The `import.yaml` never contains the `project:` section because the project already exists.
-When you have your `import.yml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
+When you have your `import.yaml` ready, use the `zcli project service-import` command to add one or more services to your existing Zerops project.
```sh
Usage:
@@ -499,4 +474,4 @@ Flags:
zCLI commands are interactive, when you press enter after `zcli project service-import importYamlPath`, you will be given a list of your projects to choose from.
-Maximum size of the import.yml file is 100 kB.
+Maximum size of the import.yaml file is 100 kB.
diff --git a/apps/docs/content/rust/how-to/customize-runtime.mdx b/apps/docs/content/rust/how-to/customize-runtime.mdx
index 8bae3eb2..0e215d1f 100644
--- a/apps/docs/content/rust/how-to/customize-runtime.mdx
+++ b/apps/docs/content/rust/how-to/customize-runtime.mdx
@@ -22,9 +22,9 @@ The default Rust runtime environment contains:
- Git
:::note
-To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.
+To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yaml/specification#os--1) attribute.
-Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
+Additional packages and tools can be installed using [run.prepareCommands](/zerops-yaml/specification#preparecommands--1).
:::
### Runtime Flow
diff --git a/apps/docs/content/rust/how-to/deploy-process.mdx b/apps/docs/content/rust/how-to/deploy-process.mdx
index 70f33c87..1578579a 100644
--- a/apps/docs/content/rust/how-to/deploy-process.mdx
+++ b/apps/docs/content/rust/how-to/deploy-process.mdx
@@ -40,7 +40,7 @@ Zerops performs following actions for each new container:
Services with multiple containers are deployed in parallel.
:::info
-If your application needs to be initialized in each runtime container, add [init commands](/rust/how-to/build-pipeline#initcommands) to `zerops.yml`.
+If your application needs to be initialized in each runtime container, add [init commands](/rust/how-to/build-pipeline#initcommands) to `zerops.yaml`.
:::
:::caution
@@ -58,7 +58,7 @@ The old containers are then removed from the project balancer so they don't rece
## Readiness checks
-If your application isn't ready to handle requests right after it is started via the [start command](/rust/how-to/build-pipeline#start), configure a [readiness check](/rust/how-to/build-pipeline#readiness-check) in your `zerops.yml`.
+If your application isn't ready to handle requests right after it is started via the [start command](/rust/how-to/build-pipeline#start), configure a [readiness check](/rust/how-to/build-pipeline#readiness-check) in your `zerops.yaml`.
If the readiness check is defined, Zerops will:
@@ -94,7 +94,7 @@ The list of application versions is available in Zerops GUI. Go to the service d
The pipeline detail is accessible from the additional menu. The pipeline detail contains
-- The pipeline config (`zerops.yml`) that was used for the selected version
+- The pipeline config (`zerops.yaml`) that was used for the selected version
- The build log (if available)
- The prepare runtime log (if available)
diff --git a/apps/docs/content/rust/how-to/env-variables.mdx b/apps/docs/content/rust/how-to/env-variables.mdx
index 1e56dd03..15392851 100644
--- a/apps/docs/content/rust/how-to/env-variables.mdx
+++ b/apps/docs/content/rust/how-to/env-variables.mdx
@@ -23,12 +23,12 @@ There are 3 different sets of env variables in Zerops:
Specifies the service type and version.
- See what [Rust service types](/references/importyml/type-list#runtime-services) are currently supported.
+ See what [Rust service types](/references/import-yaml/type-list#runtime-services) are currently supported.
@@ -418,9 +393,9 @@ At least one service in `services:` section is required. You can create a projec
basic
build
- zerops.yml
+ zerops.yaml
basic
runtime
- zerops.yml
+ zerops.yaml
- secret
@@ -40,13 +40,13 @@ There are 3 different sets of env variables in Zerops:
Use the [secret env variables](/rust/how-to/create#set-secret-environment-variables) for all sensitive data you don't want to store in your application code. Secret env variables are also useful if you need for testing where you need to change the value of some env variables frequently. Secret variables are managed in Zerops GUI and you don't have to redeploy your application.
-The basic build and runtime env variables are listed in your [zerops.yml](/zerops-yml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yml and redeploy your application to Zerops.
+The basic build and runtime env variables are listed in your [zerops.yaml](/zerops-yaml/specification) and deployed together with your application code. When you need to update a value of an existing env variable or change the set of build or runtime env variables, update your zerops.yaml and redeploy your application to Zerops.
You can [reference](/rust/how-to/env-variables#reference-a-local-variable-in-another-variable-value) another variable of the same service or even a variable of [another service](/rust/how-to/env-variables#reference-a-variable-of-another-project-service) within the same project.
## Set secret env variables in Zerops GUI
-Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yml.
+Use secret variables to store passwords, tokens and other sensitive information that shouldn't be part of your repository and listed in zerops.yaml.
-
-
-
-
- Resources Type
- Minimum resource
- Maximum resource
-
-
- CPU cores
- 1
- 5
-
-
- RAM
- 0.25 GB
- 32 GB
-
-
-
-
-
+Disk
- 1 GB
- 100 GB
-
`--workingDir` flag.
+The command triggers the [build pipeline](/rust/how-to/trigger-pipeline) defined in `zerops.yaml`. `zerops.yaml` must be in the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
zCLI uploads all files and subdirectories of the working directory to Zerops and starts the build pipeline. If the `.gitignore` file is found, it is interpreted and the defined files and folders will be ignored.
@@ -90,14 +90,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
zCLI commands are interactive, when you press enter after `zcli push`, you will be given a list of your projects to choose from.
:::info
-You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yml` in your repository.
+You can change the build and deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your repository.
:::
## Manual deploy using Zerops CLI
@@ -106,7 +106,7 @@ To start only a deploy pipeline, use the Zerops CLI.
Follow these steps:
-1. Add [zerops.yml](/rust/how-to/build-pipeline#add-zeropsyml-to-your-repository) to your repository. Omit the build section.
+1. Add [zerops.yaml](/rust/how-to/build-pipeline#add-zeropsyaml-to-your-repository) to your repository. Omit the build section.
2. [Install & setup zCLI](/references/cli) the Zerops command line tool.
3. Run `zcli service deploy` command.
@@ -121,8 +121,8 @@ Usage:
Flags:
--archiveFilePath string If set, zCLI creates a tar.gz archive with the application code in the required path relative
to the working directory. By default, no archive is created.
- --deployGitFolder Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --deployGitFolder Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
-h, --help the service deploy command.
--projectId string If you have access to more than one project, you must specify the project ID for which the
command is to be executed.
@@ -130,14 +130,14 @@ Flags:
command is to be executed.
--versionName string Adds a custom version name. Automatically filled if the VERSIONNAME environment variable exists.
--workingDir string Sets a custom working directory. Default working directory is the current directory. (default "./")
- --zeropsYamlPath string Sets a custom path to the zerops.yml file relative to the working directory. By default zCLI
- looks for zerops.yml in the working directory.
+ --zeropsYamlPath string Sets a custom path to the zerops.yaml file relative to the working directory. By default zCLI
+ looks for zerops.yaml in the working directory.
```
`pathToFileOrDir` defines a path to one or more directories and/or files relative to the working directory. The working directory is by default the current directory and can be changed using the
`--workingDir` flag.
-`zerops.yml` must be placed in the working directory.
+`zerops.yaml` must be placed in the working directory.
:::info
-You can change the deploy pipeline when you need to. Just simply modify the `zerops.yml` in your working directory.
+You can change the deploy pipeline when you need to. Just simply modify the `zerops.yaml` in your working directory.
:::
diff --git a/apps/docs/content/rust/how-to/upgrade.mdx b/apps/docs/content/rust/how-to/upgrade.mdx
index 7b5097f3..072d014f 100644
--- a/apps/docs/content/rust/how-to/upgrade.mdx
+++ b/apps/docs/content/rust/how-to/upgrade.mdx
@@ -3,6 +3,6 @@ title: How to upgrade the Rust version
description: Learn how to upgrade your rust service's version
---
-You can upgrade or downgrade your Rust service to a different major Rust version by setting the `run.base` parameter in your `zerops.yml`. When you [trigger a new pipeline](/rust/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Rust version. If you don't specify the `run.base` attribute in your `zerops.yml`, Zerops keeps the current Rust version for your runtime.
+You can upgrade or downgrade your Rust service to a different major Rust version by setting the `run.base` parameter in your `zerops.yaml`. When you [trigger a new pipeline](/rust/how-to/trigger-pipeline), Zerops will start new runtime container(s) with the required Rust version. If you don't specify the `run.base` attribute in your `zerops.yaml`, Zerops keeps the current Rust version for your runtime.
-If you want to build your application with a different major Rust version, change the `build.base` parameter in your `zerops.yml`. The `build.base` is the required attribute.
+If you want to build your application with a different major Rust version, change the `build.base` parameter in your `zerops.yaml`. The `build.base` is the required attribute.
diff --git a/apps/docs/content/rust/overview.mdx b/apps/docs/content/rust/overview.mdx
index 01c3696a..213c34a4 100644
--- a/apps/docs/content/rust/overview.mdx
+++ b/apps/docs/content/rust/overview.mdx
@@ -23,9 +23,9 @@ As said, there is no need for coding yet, we have created a [Github repository
1. Log in/sign up to [Zerops GUI ↗](https://app.zerops.io)
-2. In the **Projects** box click on **Import a project** and paste in the following yml config ([source ↗](https://github.com/zeropsio/recipe-rust-hello-world/blob/main/import-project/description.yml)):
+2. In the **Projects** box click on **Import a project** and paste in the following YAML config ([source ↗](https://github.com/zeropsio/recipe-rust-hello-world/blob/main/import-project/description.yaml)):
-```yml
+```yaml
project:
name: my-first-project
services:
@@ -96,12 +96,12 @@ Do you have any questions? Check the step-by-step tutorial, browse the documenta
},
{
type: 'link',
- href: '/rust/how-to/build-pipeline#add-zeropsyml-to-your-repository',
- label: 'zerops.yml',
+ href: '/rust/how-to/build-pipeline#add-zeropsyaml-to-your-repository',
+ label: 'zerops.yaml',
customProps: {
icon: Icons['puzzle'],
description:
- 'See a full example of zerops.yml file to create your own app.',
+ 'See a full example of zerops.yaml file to create your own app.',
},
},
{
@@ -152,7 +152,7 @@ Have you build something that others might find useful? Don't hesitate to share
-
-
-
-
-
-
-{/* add link to backup page if exists, at least mention zcli backup command */}
\ No newline at end of file
+For large Shared Storage volumes:
+- Be mindful of the [project backup limits](/features/backup#limits) (25 GiB total backup volume per project)
+- Consider adjusting your backup frequency for optimal storage usage
+- Regularly clean up unnecessary files from your Shared Storage to reduce backup size
\ No newline at end of file
diff --git a/apps/docs/content/shared-storage/how-to/connect.mdx b/apps/docs/content/shared-storage/how-to/connect.mdx
index 390f47d3..2c4480f2 100644
--- a/apps/docs/content/shared-storage/how-to/connect.mdx
+++ b/apps/docs/content/shared-storage/how-to/connect.mdx
@@ -5,30 +5,39 @@ description: Learn how to connect shared storage to other services in Zerops.
import GroupCards from '@site/src/components/GroupCards';
-## Connect shared storage in Zerops GUI
+This page covers how to connect an existing shared storage to runtime services and how to disconnect services when needed.
-### New shared storage
+## In Zerops GUI
-Connect your runtime service directly when creating a new shared storage service. Just select your runtime service in the **Share with Services** block on the **Add new shared storage service** page.
+### Connect a new shared storage
+
+When creating a new shared storage service, you can directly select which runtime services it should be connected to. See [Create Shared Storage](/shared-storage/how-to/create) for details about the creation process.
+
+### Connect an existing shared storage
+
+For existing storage, go to the shared storage service detail page and select **Shared storage connections**. Toggle ON any runtime services you wish to connect to this storage.
-
-
-
- Field name
- Allowed values
-
-
- Minute
- 0-59
-
-
- Hour
- 0-23
-
-
- Day
- 1-31
-
-
- Month
- 1-12
-
-
-
-Week Day
- 0–7; both 0 and 7 represent Sunday
-
-
-
+
build.base
and run.base
sections in `zerops.yml`.
+This is a list of all currently supported versions of technologies that can be used for build.base
and run.base
sections in `zerops.yaml`.
:::note
Versions listed on the same line are aliases of the same underlying version.
diff --git a/apps/docs/content/zerops-yml/cron.mdx b/apps/docs/content/zerops-yaml/cron.mdx
similarity index 97%
rename from apps/docs/content/zerops-yml/cron.mdx
rename to apps/docs/content/zerops-yaml/cron.mdx
index 2dfcc751..de530150 100644
--- a/apps/docs/content/zerops-yml/cron.mdx
+++ b/apps/docs/content/zerops-yaml/cron.mdx
@@ -5,7 +5,7 @@ description: Learn how to set up automated tasks and scheduled jobs in Zerops
Cron jobs are scheduled commands that execute automatically inside a service's containers based on defined timing rules.
-In Zerops, these jobs are configured in the `run` section of `zerops.yml` file under the `crontab` key.
+In Zerops, these jobs are configured in the `run` section of `zerops.yaml` file under the `crontab` key.
## Parameters
@@ -41,7 +41,7 @@ The schedule for when the task should run, specified in standard cron format usi
Specifies the directory where the command will be executed. If not set, it defaults to `/var/www`.
## Example Configurations
-Here’s a basic example of how to set up a cron job in your service's `zerops.yml`:
+Here’s a basic example of how to set up a cron job in your service's `zerops.yaml`:
```yaml
run:
diff --git a/apps/docs/content/zerops-yml/specification.mdx b/apps/docs/content/zerops-yaml/specification.mdx
similarity index 81%
rename from apps/docs/content/zerops-yml/specification.mdx
rename to apps/docs/content/zerops-yaml/specification.mdx
index fd3c0bd0..9bb7d386 100644
--- a/apps/docs/content/zerops-yml/specification.mdx
+++ b/apps/docs/content/zerops-yaml/specification.mdx
@@ -1,6 +1,6 @@
---
title: Zerops YAML Configuration
-description: Learn how you can configure your zerops yaml and use the available parameters.
+description: Learn how you can configure your Zerops.yaml and use the available parameters.
---
import data from '@site/static/data.json';
@@ -19,8 +19,8 @@ export const languages = [
{ name: "Nginx", link: "/nginx/how-to/build-pipeline" }
]
-The `zerops.yml` file is crucial for defining how Zerops should [build and deploy](/features/pipeline) your application.
-Add the `zerops.yml` file to the **root of your repository** and customize it to suit your application's needs.
+The `zerops.yaml` file is crucial for defining how Zerops should [build and deploy](/features/pipeline) your application.
+Add the `zerops.yaml` file to the **root of your repository** and customize it to suit your application's needs.
---
@@ -28,7 +28,7 @@ Add the `zerops.yml` file to the **root of your repository** and customize it to
## Basic Structure
-```yml title="zerops.yml"
+```yaml title="zerops.yaml"
zerops:
- setup:
© ${new Date().getFullYear()} Zerops s.r.o..`,
},
socialLinks: [
+ {
+ type: "model",
+ href: "https://docs.zerops.io/llms.txt",
+ },
{
type: "discord",
href: "https://docs.zerops.io/discord",
diff --git a/apps/docs/package.json b/apps/docs/package.json
index 8d069a6f..8b88c13d 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -68,6 +68,7 @@
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.22.15",
+ "@docusaurus/eslint-plugin": "latest",
"@docusaurus/module-type-aliases": "latest",
"@docusaurus/tsconfig": "latest",
"@docusaurus/types": "latest",
@@ -80,4 +81,4 @@
"engines": {
"node": ">=18.0"
}
-}
+}
\ No newline at end of file
diff --git a/apps/docs/sidebars.js b/apps/docs/sidebars.js
index 148135cb..4b090629 100644
--- a/apps/docs/sidebars.js
+++ b/apps/docs/sidebars.js
@@ -96,13 +96,26 @@ module.exports = {
className: 'homepage-sidebar-item',
},
{
- type: 'doc',
- id: 'features/access',
+ type: 'category',
+ link: {
+ type: 'doc',
+ id: 'features/access',
+ },
label: 'Custom Domains & IP Access',
customProps: {
sidebar_icon: 'globe-europe',
},
className: 'homepage-sidebar-item',
+ items: [
+ {
+ type: 'doc',
+ id: 'features/dns',
+ label: 'DNS & Proxy Setup',
+ customProps: {
+ exclude_from_doc_list: false,
+ },
+ },
+ ],
},
{
type: 'doc',
@@ -115,19 +128,19 @@ module.exports = {
},
{
type: 'doc',
- id: 'features/pricing',
- label: 'Pricing Plans & Usage',
+ id: 'features/backup',
+ label: 'Backup',
customProps: {
- sidebar_icon: 'currency-dollar',
+ sidebar_icon: 'archive-box',
},
className: 'homepage-sidebar-item',
},
{
type: 'doc',
- id: 'features/backup',
- label: 'Backup',
+ id: 'features/cdn',
+ label: 'CDN',
customProps: {
- sidebar_icon: 'archive-box',
+ sidebar_icon: 'cdn',
},
className: 'homepage-sidebar-item',
},
@@ -350,13 +363,13 @@ module.exports = {
className: 'homepage-sidebar-item service-sidebar-item',
},
{
- type: 'ref',
- id: 'keydb/overview',
- label: 'KeyDB (Redis)',
+ type: "ref",
+ id: "valkey/overview",
+ label: "Valkey (Redis)",
customProps: {
- sidebar_icon: 'keydb',
+ sidebar_icon: "valkey",
},
- className: 'homepage-sidebar-item service-sidebar-item',
+ className: "homepage-sidebar-item service-sidebar-item",
},
{
type: "ref",
@@ -385,33 +398,33 @@ module.exports = {
},
className: "homepage-sidebar-item service-sidebar-item",
},
-// {
-// type: "ref",
-// id: "meilisearch/overview",
-// label: "Meilisearch",
-// customProps: {
-// sidebar_icon: "meilisearch",
-// },
-// className: "homepage-sidebar-item service-sidebar-item",
-// },
-// {
-// type: "ref",
-// id: "qdrant/overview",
-// label: "Qdrant",
-// customProps: {
-// sidebar_icon: "qdrant",
-// },
-// className: "homepage-sidebar-item service-sidebar-item",
-// },
-// {
-// type: "ref",
-// id: "valkey/overview",
-// label: "Valkey",
-// customProps: {
-// sidebar_icon: "valkey",
-// },
-// className: "homepage-sidebar-item service-sidebar-item",
-// },
+ {
+ type: "ref",
+ id: "qdrant/overview",
+ label: "Qdrant",
+ customProps: {
+ sidebar_icon: "qdrant",
+ },
+ className: "homepage-sidebar-item service-sidebar-item",
+ },
+ {
+ type: "ref",
+ id: "nats/overview",
+ label: "NATS",
+ customProps: {
+ sidebar_icon: "nats",
+ },
+ className: "homepage-sidebar-item service-sidebar-item",
+ },
+ {
+ type: 'ref',
+ id: 'keydb/overview',
+ label: 'KeyDB',
+ customProps: {
+ sidebar_icon: 'keydb',
+ },
+ className: 'homepage-sidebar-item service-sidebar-item',
+ },
// {
// type: "ref",
// id: "kafka/overview",
@@ -420,15 +433,6 @@ module.exports = {
// sidebar_icon: "kafka",
// },
// className: "homepage-sidebar-item service-sidebar-item",
-// },
-// {
-// type: "ref",
-// id: "nats/overview",
-// label: "NATS",
-// customProps: {
-// sidebar_icon: "nats",
-// },
-// className: "homepage-sidebar-item service-sidebar-item",
// },
],
},
@@ -470,7 +474,7 @@ module.exports = {
},
{
type: 'doc',
- id: 'zerops-yml/specification',
+ id: 'zerops-yaml/specification',
label: 'Specification',
customProps: {
sidebar_icon: 'document-text',
@@ -479,7 +483,7 @@ module.exports = {
},
{
type: 'doc',
- id: 'zerops-yml/base-list',
+ id: 'zerops-yaml/base-list',
label: 'Base List',
customProps: {
sidebar_icon: 'swatch',
@@ -488,7 +492,7 @@ module.exports = {
},
{
type: 'doc',
- id: 'zerops-yml/cron',
+ id: 'zerops-yaml/cron',
label: 'Cron',
customProps: {
sidebar_icon: 'arrow-path',
@@ -517,16 +521,16 @@ module.exports = {
items: [
{
type: 'doc',
- id: 'references/cli/commands',
- label: 'Available Commands',
+ id: 'references/cli/configuration',
+ label: 'Configuration',
customProps: {
exclude_from_doc_list: false,
},
},
{
type: 'doc',
- id: 'references/cli/access-logs',
- label: 'Access Logs',
+ id: 'references/cli/commands',
+ label: 'Commands',
customProps: {
exclude_from_doc_list: false,
},
@@ -587,7 +591,7 @@ module.exports = {
items: [
{
type: 'doc',
- id: 'references/importyml/pre-processor',
+ id: 'references/import-yaml/pre-processor',
label: 'Yaml Preprocessing',
customProps: {
exclude_from_doc_list: false,
@@ -595,7 +599,7 @@ module.exports = {
},
{
type: 'doc',
- id: 'references/importyml/type-list',
+ id: 'references/import-yaml/type-list',
label: 'Service Types',
customProps: {
exclude_from_doc_list: false,
@@ -639,6 +643,15 @@ module.exports = {
},
className: 'homepage-sidebar-item',
},
+ {
+ type: 'doc',
+ id: 'references/api',
+ label: 'API',
+ customProps: {
+ sidebar_icon: 'curly-braces',
+ },
+ className: 'homepage-sidebar-item',
+ },
{
type: 'html',
value: 'Help',
@@ -665,51 +678,63 @@ module.exports = {
},
className: 'homepage-sidebar-item',
},
+ {
+ type: 'html',
+ value: 'Company',
+ customProps: {
+ sidebar_is_group_divider: true,
+ },
+ className: 'homepage-sidebar-item',
+ },
{
type: 'doc',
- id: 'help/branding',
- label: 'Branding',
+ id: 'company/about',
+ label: 'About',
customProps: {
- sidebar_icon: 'document-text',
+ sidebar_icon: 'information-circle',
},
className: 'homepage-sidebar-item',
},
{
- type: 'html',
- value: 'Additional resources',
+ type: 'doc',
+ id: 'company/developer-first',
+ label: 'Dev-First Experience',
customProps: {
- sidebar_is_group_divider: true,
- sidebar_is_soon: true,
+ sidebar_icon: 'heart',
+ },
+ className: 'homepage-sidebar-item',
+ },
+ {
+ type: 'category',
+ link: {
+ type: 'doc',
+ id: 'company/pricing',
+ },
+ label: 'Pricing',
+ customProps: {
+ sidebar_icon: 'currency-dollar',
+ },
+ className: 'homepage-sidebar-item',
+ items: [
+ {
+ type: 'doc',
+ id: 'company/payment',
+ label: 'Top-up & Billing',
+ customProps: {
+ exclude_from_doc_list: false,
+ },
+ },
+ ],
+ },
+ {
+ type: 'doc',
+ id: 'company/branding',
+ label: 'Branding',
+ customProps: {
+ sidebar_icon: 'tag',
},
className: 'homepage-sidebar-item',
},
- // {
- // type: "doc",
- // id: "additional-resources/utility-recipes",
- // label: "Utility recipes",
- // customProps: {
- // sidebar_icon: "swatch",
- // },
- // className: "homepage-sidebar-item",
- // },
- // {
- // type: "doc",
- // id: "additional-resources/glossary",
- // label: "Glossary",
- // customProps: {
- // sidebar_icon: "list-bullet",
- // },
- // className: "homepage-sidebar-item",
- // },
- // {
- // type: "doc",
- // id: "additional-resources/roadmap",
- // label: "Roadmap",
- // customProps: {
- // sidebar_icon: "map",
- // },
- // className: "homepage-sidebar-item",
- // },
],
nodejs: [
{
@@ -732,11 +757,10 @@ module.exports = {
},
{
type: 'category',
- label: 'How-to',
+ label: 'Management',
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
- sidebar_icon: 'academic-cap-solid',
},
items: [
{
@@ -744,6 +768,31 @@ module.exports = {
id: 'nodejs/how-to/create',
label: 'Create Node.js service',
},
+ {
+ type: 'doc',
+ id: 'nodejs/how-to/upgrade',
+ label: 'Upgrade Node.js service',
+ },
+ {
+ type: 'doc',
+ id: 'nodejs/how-to/delete',
+ label: 'Delete Node.js service',
+ },
+ {
+ type: 'doc',
+ id: 'nodejs/how-to/controls',
+ label: 'Stop & start Node.js runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
id: 'nodejs/how-to/env-variables',
@@ -751,9 +800,19 @@ module.exports = {
},
{
type: 'doc',
- id: 'nodejs/how-to/upgrade',
- label: 'Upgrade Node.js service',
+ id: 'nodejs/how-to/customize-runtime',
+ label: 'Customize NodeJS runtime',
},
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
id: 'nodejs/how-to/build-pipeline',
@@ -774,11 +833,16 @@ module.exports = {
id: 'nodejs/how-to/deploy-process',
label: 'Deploy process',
},
- {
- type: 'doc',
- id: 'nodejs/how-to/customize-runtime',
- label: 'Customize NodeJS runtime',
- },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
id: 'nodejs/how-to/logs',
@@ -799,32 +863,13 @@ module.exports = {
id: 'nodejs/how-to/scaling',
label: 'Scale Node.js runtime service',
},
- {
- type: 'doc',
- id: 'nodejs/how-to/controls',
- label: 'Stop & start Node.js runtime service',
- },
{
type: 'doc',
id: 'nodejs/how-to/shared-storage',
label: 'Connect / disconnect shared storage',
},
- {
- type: 'doc',
- id: 'nodejs/how-to/delete',
- label: 'Delete Node.js service',
- },
],
},
- // {
- // type: 'doc',
- // id: 'nodejs/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
],
php: [
{
@@ -847,7 +892,7 @@ module.exports = {
},
{
type: 'category',
- label: 'How-to',
+ label: 'Management',
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
@@ -858,11 +903,6 @@ module.exports = {
id: 'php/how-to/create',
label: 'Create PHP service',
},
- {
- type: 'doc',
- id: 'php/how-to/env-variables',
- label: 'Manage environment variables',
- },
{
type: 'doc',
id: 'php/how-to/upgrade',
@@ -870,23 +910,28 @@ module.exports = {
},
{
type: 'doc',
- id: 'php/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
- },
- {
- type: 'doc',
- id: 'php/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
+ id: 'php/how-to/delete',
+ label: 'Delete PHP service',
},
{
type: 'doc',
- id: 'php/how-to/build-process',
- label: 'Build process',
+ id: 'php/how-to/controls',
+ label: 'Stop & start PHP runtime service',
},
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
- id: 'php/how-to/deploy-process',
- label: 'Deploy process',
+ id: 'php/how-to/env-variables',
+ label: 'Manage environment variables',
},
{
type: 'doc',
@@ -898,75 +943,41 @@ module.exports = {
id: 'php/how-to/customize-web-server',
label: 'Customize web server',
},
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
- id: 'php/how-to/logs',
- label: 'Setup & access logs',
+ id: 'php/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
},
{
type: 'doc',
- id: 'php/how-to/filebrowser',
- label: 'Browse container files',
+ id: 'php/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
},
{
type: 'doc',
- id: 'php/how-to/access',
- label: 'Access PHP runtime service',
+ id: 'php/how-to/build-process',
+ label: 'Build process',
},
{
type: 'doc',
- id: 'php/how-to/scaling',
- label: 'Scale PHP runtime service',
- },
- {
- type: 'doc',
- id: 'php/how-to/controls',
- label: 'Stop & start PHP runtime service',
- },
- {
- type: 'doc',
- id: 'php/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
- },
- {
- type: 'doc',
- id: 'php/how-to/delete',
- label: 'Delete PHP service',
+ id: 'php/how-to/deploy-process',
+ label: 'Deploy process',
},
],
},
- // {
- // type: 'doc',
- // id: 'php/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
- ],
- python: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'python/overview',
- label: 'Python',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'python',
- },
- },
{
type: 'category',
- label: 'How-to',
+ label: 'Maintenance & Monitoring',
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
@@ -974,92 +985,33 @@ module.exports = {
items: [
{
type: 'doc',
- id: 'python/how-to/create',
- label: 'Create Python service',
- },
- {
- type: 'doc',
- id: 'python/how-to/env-variables',
- label: 'Manage environment variables',
- },
- {
- type: 'doc',
- id: 'python/how-to/upgrade',
- label: 'Upgrade Python service',
- },
- {
- type: 'doc',
- id: 'python/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
- },
- {
- type: 'doc',
- id: 'python/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
- },
- {
- type: 'doc',
- id: 'python/how-to/build-process',
- label: 'Build process',
- },
- {
- type: 'doc',
- id: 'python/how-to/deploy-process',
- label: 'Deploy process',
- },
- {
- type: 'doc',
- id: 'python/how-to/customize-runtime',
- label: 'Customize Python runtime',
- },
- {
- type: 'doc',
- id: 'python/how-to/logs',
+ id: 'php/how-to/logs',
label: 'Setup & access logs',
},
{
type: 'doc',
- id: 'python/how-to/filebrowser',
+ id: 'php/how-to/filebrowser',
label: 'Browse container files',
},
{
type: 'doc',
- id: 'python/how-to/access',
- label: 'Access Python runtime service',
- },
- {
- type: 'doc',
- id: 'python/how-to/scaling',
- label: 'Scale Python runtime service',
+ id: 'php/how-to/access',
+ label: 'Access PHP runtime service',
},
{
type: 'doc',
- id: 'python/how-to/controls',
- label: 'Stop & start Python runtime service',
+ id: 'php/how-to/scaling',
+ label: 'Scale PHP runtime service',
},
{
type: 'doc',
- id: 'python/how-to/shared-storage',
+ id: 'php/how-to/shared-storage',
label: 'Connect / disconnect shared storage',
},
- {
- type: 'doc',
- id: 'python/how-to/delete',
- label: 'Delete Python service',
- },
],
},
- // {
- // type: 'doc',
- // id: 'python/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
],
- go: [
+ python: [
{
type: 'ref',
id: 'homepage',
@@ -1071,16 +1023,16 @@ module.exports = {
},
{
type: 'doc',
- id: 'go/overview',
- label: 'Go',
+ id: 'python/overview',
+ label: 'Python',
customProps: {
sidebar_is_title: true,
- sidebar_icon: 'go',
+ sidebar_icon: 'python',
},
},
{
type: 'category',
- label: 'How-to',
+ label: 'Management',
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
@@ -1088,113 +1040,29 @@ module.exports = {
items: [
{
type: 'doc',
- id: 'go/how-to/create',
- label: 'Create Go service',
- },
- {
- type: 'doc',
- id: 'go/how-to/env-variables',
- label: 'Manage environment variables',
- },
- {
- type: 'doc',
- id: 'go/how-to/upgrade',
- label: 'Upgrade Go service',
- },
- {
- type: 'doc',
- id: 'go/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
- },
- {
- type: 'doc',
- id: 'go/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
- },
- {
- type: 'doc',
- id: 'go/how-to/build-process',
- label: 'Build process',
- },
- {
- type: 'doc',
- id: 'go/how-to/deploy-process',
- label: 'Deploy process',
- },
- {
- type: 'doc',
- id: 'go/how-to/customize-runtime',
- label: 'Customize Go runtime',
- },
- {
- type: 'doc',
- id: 'go/how-to/logs',
- label: 'Setup & access logs',
- },
- {
- type: 'doc',
- id: 'go/how-to/filebrowser',
- label: 'Browse container files',
- },
- {
- type: 'doc',
- id: 'go/how-to/access',
- label: 'Access Go runtime service',
- },
- {
- type: 'doc',
- id: 'go/how-to/scaling',
- label: 'Scale Go runtime service',
+ id: 'python/how-to/create',
+ label: 'Create Python service',
},
{
type: 'doc',
- id: 'go/how-to/controls',
- label: 'Stop & start Go runtime service',
+ id: 'python/how-to/upgrade',
+ label: 'Upgrade Python service',
},
{
type: 'doc',
- id: 'go/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
+ id: 'python/how-to/delete',
+ label: 'Delete Python service',
},
{
type: 'doc',
- id: 'go/how-to/delete',
- label: 'Delete Go service',
+ id: 'python/how-to/controls',
+ label: 'Stop & start Python runtime service',
},
],
},
- // {
- // type: 'doc',
- // id: 'go/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
- ],
- rust: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'rust/overview',
- label: 'Rust',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'rust',
- },
- },
{
type: 'category',
- label: 'How-to',
+ label: 'Configuration & Environment',
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
@@ -1202,973 +1070,798 @@ module.exports = {
items: [
{
type: 'doc',
- id: 'rust/how-to/create',
- label: 'Create Rust service',
- },
- {
- type: 'doc',
- id: 'rust/how-to/env-variables',
+ id: 'python/how-to/env-variables',
label: 'Manage environment variables',
},
{
type: 'doc',
- id: 'rust/how-to/upgrade',
- label: 'Upgrade Rust service',
+ id: 'python/how-to/customize-runtime',
+ label: 'Customize Python runtime',
},
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
- id: 'rust/how-to/build-pipeline',
+ id: 'python/how-to/build-pipeline',
label: 'Configure build & deploy pipeline',
},
{
type: 'doc',
- id: 'rust/how-to/trigger-pipeline',
+ id: 'python/how-to/trigger-pipeline',
label: 'Trigger build pipeline',
},
{
type: 'doc',
- id: 'rust/how-to/build-process',
+ id: 'python/how-to/build-process',
label: 'Build process',
},
{
type: 'doc',
- id: 'rust/how-to/deploy-process',
+ id: 'python/how-to/deploy-process',
label: 'Deploy process',
},
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
- id: 'rust/how-to/customize-runtime',
- label: 'Customize Rust runtime',
- },
- {
- type: 'doc',
- id: 'rust/how-to/logs',
+ id: 'python/how-to/logs',
label: 'Setup & access logs',
},
{
type: 'doc',
- id: 'rust/how-to/filebrowser',
+ id: 'python/how-to/filebrowser',
label: 'Browse container files',
},
{
type: 'doc',
- id: 'rust/how-to/access',
- label: 'Access Rust runtime service',
- },
- {
- type: 'doc',
- id: 'rust/how-to/scaling',
- label: 'Scale Rust runtime service',
+ id: 'python/how-to/access',
+ label: 'Access Python runtime service',
},
{
type: 'doc',
- id: 'rust/how-to/controls',
- label: 'Stop & start Rust runtime service',
+ id: 'python/how-to/scaling',
+ label: 'Scale Python runtime service',
},
{
type: 'doc',
- id: 'rust/how-to/shared-storage',
+ id: 'python/how-to/shared-storage',
label: 'Connect / disconnect shared storage',
},
- {
- type: 'doc',
- id: 'rust/how-to/delete',
- label: 'Delete Rust service',
- },
],
},
- // {
- // type: 'doc',
- // id: 'rust/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
],
- dotnet: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'dotnet/overview',
- label: '.NET',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'dotnet',
+ go: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
},
- },
- {
- type: 'category',
- label: 'How-to',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
+ {
+ type: 'doc',
+ id: 'go/overview',
+ label: 'Go',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'go',
+ },
},
- items: [
- {
- type: 'doc',
- id: 'dotnet/how-to/create',
- label: 'Create .NET service',
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/env-variables',
- label: 'Manage environment variables',
+ items: [
+ {
+ type: 'doc',
+ id: 'go/how-to/create',
+ label: 'Create Go service',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/upgrade',
+ label: 'Upgrade Go service',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/delete',
+ label: 'Delete Go service',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/controls',
+ label: 'Stop & start Go runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/upgrade',
- label: 'Upgrade .NET service',
+ items: [
+ {
+ type: 'doc',
+ id: 'go/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/customize-runtime',
+ label: 'Customize Go runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
+ items: [
+ {
+ type: 'doc',
+ id: 'go/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
+ items: [
+ {
+ type: 'doc',
+ id: 'go/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/access',
+ label: 'Access Go runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/scaling',
+ label: 'Scale Go runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'go/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ ],
+ rust: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
},
- {
- type: 'doc',
- id: 'dotnet/how-to/build-process',
- label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'rust/overview',
+ label: 'Rust',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'rust',
},
- {
- type: 'doc',
- id: 'dotnet/how-to/deploy-process',
- label: 'Deploy process',
+ },
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/customize-runtime',
- label: 'Customize .NET runtime',
+ items: [
+ {
+ type: 'doc',
+ id: 'rust/how-to/create',
+ label: 'Create Rust service',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/upgrade',
+ label: 'Upgrade Rust service',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/delete',
+ label: 'Delete Rust service',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/controls',
+ label: 'Stop & start Rust runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/logs',
- label: 'Setup & access logs',
+ items: [
+ {
+ type: 'doc',
+ id: 'rust/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/customize-runtime',
+ label: 'Customize Rust runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/filebrowser',
- label: 'Browse container files',
+ items: [
+ {
+ type: 'doc',
+ id: 'rust/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/access',
- label: 'Access .NET runtime service',
+ items: [
+ {
+ type: 'doc',
+ id: 'rust/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/access',
+ label: 'Access Rust runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/scaling',
+ label: 'Scale Rust runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'rust/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ ],
+ dotnet: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
},
- {
- type: 'doc',
- id: 'dotnet/how-to/scaling',
- label: 'Scale .NET runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/overview',
+ label: '.NET',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'dotnet',
},
- {
- type: 'doc',
- id: 'dotnet/how-to/controls',
- label: 'Stop & start .NET runtime service',
+ },
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
+ items: [
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/create',
+ label: 'Create .NET service',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/upgrade',
+ label: 'Upgrade .NET service',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/delete',
+ label: 'Delete .NET service',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/controls',
+ label: 'Stop & start .NET runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'dotnet/how-to/delete',
- label: 'Delete .NET service',
+ items: [
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/customize-runtime',
+ label: 'Customize .NET runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- ],
- },
- // {
- // type: 'doc',
- // id: 'dotnet/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
- ],
- java: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
+ items: [
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
},
- },
- {
- type: 'doc',
- id: 'java/overview',
- label: 'Java',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'java',
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/access',
+ label: 'Access .NET runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/scaling',
+ label: 'Scale .NET runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'dotnet/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
},
- },
- {
- type: 'category',
- label: 'How-to',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
+ ],
+ java: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
},
- items: [
- {
- type: 'doc',
- id: 'java/how-to/create',
- label: 'Create Java service',
+ {
+ type: 'doc',
+ id: 'java/overview',
+ label: 'Java',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'java',
},
- {
- type: 'doc',
- id: 'java/how-to/env-variables',
- label: 'Manage environment variables',
+ },
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'java/how-to/upgrade',
- label: 'Upgrade Java service',
+ items: [
+ {
+ type: 'doc',
+ id: 'java/how-to/create',
+ label: 'Create Java service',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/upgrade',
+ label: 'Upgrade Java service',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/delete',
+ label: 'Delete Java service',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/controls',
+ label: 'Stop & start Java runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'java/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
+ items: [
+ {
+ type: 'doc',
+ id: 'java/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/customize-runtime',
+ label: 'Customize Java runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'java/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
+ items: [
+ {
+ type: 'doc',
+ id: 'java/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'java/how-to/build-process',
- label: 'Build process',
+ items: [
+ {
+ type: 'doc',
+ id: 'java/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/access',
+ label: 'Access Java runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/scaling',
+ label: 'Scale Java runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'java/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ ],
+ nginx: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
},
- {
- type: 'doc',
- id: 'java/how-to/deploy-process',
- label: 'Deploy process',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/overview',
+ label: 'Nginx Static',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'nginx',
},
- {
+ },
+ {
+ type: 'category',
+ label: 'Dive-in',
+ collapsible: false,
+ link: {
type: 'doc',
- id: 'java/how-to/customize-runtime',
- label: 'Customize Java runtime',
+ id: 'nginx/getting-started',
},
- {
- type: 'doc',
- id: 'java/how-to/logs',
- label: 'Setup & access logs',
+ customProps: {
+ sidebar_icon: 'rocket-launch',
},
- {
- type: 'doc',
- id: 'java/how-to/filebrowser',
- label: 'Browse container files',
- },
- {
- type: 'doc',
- id: 'java/how-to/access',
- label: 'Access Java runtime service',
- },
- {
- type: 'doc',
- id: 'java/how-to/scaling',
- label: 'Scale Java runtime service',
- },
- {
- type: 'doc',
- id: 'java/how-to/controls',
- label: 'Stop & start Java runtime service',
- },
- {
- type: 'doc',
- id: 'java/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
- },
- {
- type: 'doc',
- id: 'java/how-to/delete',
- label: 'Delete Java service',
- },
- ],
- },
- // {
- // type: 'doc',
- // id: 'java/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
- ],
- nginx: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'nginx/overview',
- label: 'Nginx Static',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'nginx',
- },
- },
- {
- type: 'category',
- label: 'Dive-in',
- collapsible: false,
- link: {
- type: 'doc',
- id: 'nginx/getting-started',
- },
- customProps: {
- sidebar_icon: 'rocket-launch',
- },
- className: 'homepage-sidebar-item',
- items: [
- {
- type: 'doc',
- id: 'nginx/tutorial/quickstart',
- label: 'Quickstart',
- customProps: {
- exclude_from_doc_list: false,
+ className: 'homepage-sidebar-item',
+ items: [
+ {
+ type: 'doc',
+ id: 'nginx/tutorial/quickstart',
+ label: 'Quickstart',
+ customProps: {
+ exclude_from_doc_list: false,
+ },
},
- },
- {
- type: 'doc',
- id: 'nginx/tutorial/step-by-step',
- label: 'Step-by-step tutorial',
- customProps: {
- exclude_from_doc_list: false,
+ {
+ type: 'doc',
+ id: 'nginx/tutorial/step-by-step',
+ label: 'Step-by-step tutorial',
+ customProps: {
+ exclude_from_doc_list: false,
+ },
},
- },
- ],
- },
- {
- type: 'category',
- label: 'How-to',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
+ ],
},
- items: [
- {
- type: 'doc',
- id: 'nginx/how-to/create',
- label: 'Create Nginx static service',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/env-variables',
- label: 'Manage environment variables',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/upgrade',
- label: 'Upgrade Nginx service',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/deploy-process',
- label: 'Deploy process',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/customize-runtime',
- label: 'Customize Nginx static runtime',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/customize-web-server',
- label: 'Customize web server',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/logs',
- label: 'Setup & access logs',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/filebrowser',
- label: 'Browse container files',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/access',
- label: 'Access Nginx runtime service',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/scaling',
- label: 'Scale Nginx static service',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/controls',
- label: 'Stop & start Nginx static service',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
- },
- {
- type: 'doc',
- id: 'nginx/how-to/delete',
- label: 'Delete Nginx static service',
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- ],
- },
- {
- type: 'doc',
- id: 'nginx/faq',
- label: 'FAQ',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'chat-bubble-left-right',
- },
- },
- ],
- static: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'static/overview',
- label: 'Static Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'computer-desktop',
- },
- },
- ],
- docker: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'docker/overview',
- label: 'Docker Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'docker',
- },
- },
- ],
- mariadb: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'mariadb/overview',
- label: 'Zerops MariaDB Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'mariadb',
- },
- },
- {
- type: 'category',
- label: 'How-to',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
+ items: [
+ {
+ type: 'doc',
+ id: 'nginx/how-to/create',
+ label: 'Create Nginx static service',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/upgrade',
+ label: 'Upgrade Nginx service',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/delete',
+ label: 'Delete Nginx static service',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/controls',
+ label: 'Stop & start Nginx static service',
+ },
+ ],
},
- items: [
- {
- type: 'doc',
- id: 'mariadb/how-to/create',
- label: 'Create MariaDB service',
- },
- {
- type: 'doc',
- id: 'mariadb/how-to/connect',
- label: 'Connect to MariaDB',
- },
- {
- type: 'doc',
- id: 'mariadb/how-to/manage',
- label: 'Manage users and databases',
- },
- {
- type: 'doc',
- id: 'mariadb/how-to/export-import-data',
- label: 'Export and import data',
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'mariadb/how-to/backup',
- label: 'Backup data',
+ items: [
+ {
+ type: 'doc',
+ id: 'nginx/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/customize-runtime',
+ label: 'Customize Nginx static runtime',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/customize-web-server',
+ label: 'Customize web server',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'mariadb/how-to/scale',
- label: 'Scale MariaDB service',
+ items: [
+ {
+ type: 'doc',
+ id: 'nginx/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'mariadb/how-to/control',
- label: 'Stop and start MariaDB service',
- },
- {
- type: 'doc',
- id: 'mariadb/how-to/delete',
- label: 'Delete MariaDB service',
- },
- ],
- },
- {
- type: 'category',
- label: 'Technical details',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
- },
- items: [
- {
- type: 'doc',
- id: 'mariadb/tech-details/cluster',
- label: 'MariaDB cluster asynchronous behaviour',
- },
- {
- type: 'doc',
- id: 'mariadb/tech-details/limitations',
- label: 'Technical limitations of MariaDB cluster',
- },
- ],
- },
- // {
- // type: 'doc',
- // id: 'mariadb/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
- ],
- postgresql: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'postgresql/overview',
- label: 'Zerops PostgreSQL Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'postgresql',
- },
- },
- {
- type: 'category',
- label: 'How-to',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
- },
- items: [
- {
- type: 'doc',
- id: 'postgresql/how-to/create',
- label: 'Create PostgreSQL service',
- },
- {
- type: 'doc',
- id: 'postgresql/how-to/connect',
- label: 'Connect to PostgreSQL',
- },
- {
- type: 'doc',
- id: 'postgresql/how-to/manage',
- label: 'Manage users and databases',
- },
- {
- type: 'doc',
- id: 'postgresql/how-to/export-import-data',
- label: 'Export and import data',
- },
- {
- type: 'doc',
- id: 'postgresql/how-to/scale',
- label: 'Scale PostgreSQL service',
- },
- {
- type: 'doc',
- id: 'postgresql/how-to/control',
- label: 'Stop and start PostgreSQL service',
- },
- {
- type: 'doc',
- id: 'postgresql/how-to/delete',
- label: 'Delete PostgreSQL service',
- },
- ],
- },
- // {
- // type: "category",
- // label: "Technical details",
- // collapsible: false,
- // customProps: {
- // sidebar_is_group_headline: true,
- // },
- // items: [
- // {
- // type: "doc",
- // id: "postgresql/tech-details/cluster",
- // label: "PostgreSQL cluster asynchronous behaviour",
- // },
- // {
- // type: "doc",
- // id: "postgresql/tech-details/limitations",
- // label: "Technical limitations of PostgreSQL cluster",
- // },
- // ],
- // },
- {
- type: 'doc',
- id: 'postgresql/faq',
- label: 'FAQ',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'chat-bubble-left-right',
- },
- },
- ],
-// mongodb: [
-// {
-// type: 'ref',
-// id: 'homepage',
-// label: 'Back to home',
-// customProps: {
-// sidebar_is_back_link: true,
-// sidebar_icon: 'back-arrow',
-// },
-// },
- // {
- // type: 'doc',
- // id: 'mongodb/overview',
- // label: 'Zerops MongoDB Service',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'mongodb',
- // },
- // },
-// ],
- elasticsearch: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'elasticsearch/overview',
- label: 'Zerops Elasticsearch Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'elasticsearch',
- },
- },
- ],
- keydb: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'keydb/overview',
- label: 'Zerops KeyDB Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'keydb',
- },
- },
- {
- type: 'category',
- label: 'How-to',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
- },
- items: [
- {
- type: 'doc',
- id: 'keydb/how-to/create',
- label: 'Create KeyDB service',
- },
- {
- type: 'doc',
- id: 'keydb/how-to/connect',
- label: 'Connect to KeyDB',
- },
- {
- type: 'doc',
- id: 'keydb/how-to/manage',
- label: 'Manage users and databases',
- },
- {
- type: 'doc',
- id: 'keydb/how-to/export-import-data',
- label: 'Export and import data',
- },
- {
- type: 'doc',
- id: 'keydb/how-to/scale',
- label: 'Scale KeyDB service',
- },
- {
- type: 'doc',
- id: 'keydb/how-to/control',
- label: 'Stop and start KeyDB service',
- },
- {
- type: 'doc',
- id: 'keydb/how-to/delete',
- label: 'Delete KeyDB service',
- },
- ],
- },
- // {
- // type: 'doc',
- // id: 'keydb/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
- ],
- typesense: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'typesense/overview',
- label: 'Zerops Typesense Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'typesense',
- },
- },
- ],
- meilisearch: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'meilisearch/overview',
- label: 'Zerops Meilisearch Service',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'meilisearch',
- },
- },
- ],
- // rabbitmq: [
- // {
- // type: "ref",
- // id: "homepage",
- // label: "Back to home",
- // customProps: {
- // sidebar_is_back_link: true,
- // sidebar_icon: "back-arrow",
- // },
- // },
- // {
- // type: "doc",
- // id: "rabbitmq/overview",
- // label: "Zerops RabbitMQ Service",
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: "rabbitmq",
- // },
- // },
- // {
- // type: "category",
- // label: "How-to",
- // collapsible: false,
- // customProps: {
- // sidebar_is_group_headline: true,
- // },
- // items: [
- // {
- // type: "doc",
- // id: "rabbitmq/how-to/create",
- // label: "Create RabbitMQ service",
- // },
- // {
- // type: "doc",
- // id: "rabbitmq/how-to/connect",
- // label: "Connect to RabbitMQ",
- // },
- // {
- // type: "doc",
- // id: "rabbitmq/how-to/manage",
- // label: "Manage users and databases",
- // },
- // {
- // type: "doc",
- // id: "rabbitmq/how-to/export-import-data",
- // label: "Export and import data",
- // },
- // {
- // type: "doc",
- // id: "rabbitmq/how-to/scale",
- // label: "Scale RabbitMQ service",
- // },
- // {
- // type: "doc",
- // id: "rabbitmq/how-to/control",
- // label: "Stop and start RabbitMQ service",
- // },
- // {
- // type: "doc",
- // id: "rabbitmq/how-to/delete",
- // label: "Delete RabbitMQ service",
- // },
- // ],
- // },
- // ],
- sharedstorage: [
- {
- type: 'ref',
- id: 'homepage',
- label: 'Back to home',
- customProps: {
- sidebar_is_back_link: true,
- sidebar_icon: 'back-arrow',
- },
- },
- {
- type: 'doc',
- id: 'shared-storage/overview',
- label: 'Shared storage overview',
- customProps: {
- sidebar_is_title: true,
- sidebar_icon: 'server',
- },
- },
- {
- type: 'category',
- label: 'How-to',
- collapsible: false,
- customProps: {
- sidebar_is_group_headline: true,
- sidebar_icon: 'academic-cap-solid',
- },
- items: [
- {
- type: 'doc',
- id: 'shared-storage/how-to/create',
- label: 'Create shared storage',
- },
- {
- type: 'doc',
- id: 'shared-storage/how-to/connect',
- label: 'Connect shared storage',
- },
- {
- type: 'doc',
- id: 'shared-storage/how-to/access',
- label: 'Use shared storage',
- },
- {
- type: 'doc',
- id: 'shared-storage/how-to/backup',
- label: 'Backup shared storage',
- },
- {
- type: 'doc',
- id: 'shared-storage/how-to/delete',
- label: 'Delete shared storage service',
+ items: [
+ {
+ type: 'doc',
+ id: 'nginx/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/access',
+ label: 'Access Nginx runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/scaling',
+ label: 'Scale Nginx static service',
+ },
+ {
+ type: 'doc',
+ id: 'nginx/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ {
+ type: 'doc',
+ id: 'nginx/faq',
+ label: 'FAQ',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'chat-bubble-left-right',
},
- ],
- },
- ],
- objectstorage: [
+ },
+ ],
+ static: [
{
type: 'ref',
id: 'homepage',
@@ -2180,51 +1873,35 @@ module.exports = {
},
{
type: 'doc',
- id: 'object-storage/overview',
- label: 'Object Storage Overview',
+ id: 'static/overview',
+ label: 'Static Service',
customProps: {
sidebar_is_title: true,
- sidebar_icon: 'server',
+ sidebar_icon: 'computer-desktop',
},
},
+ ],
+ docker: [
{
- type: 'category',
- label: 'How-to',
- collapsible: false,
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
customProps: {
- sidebar_is_group_headline: true,
- sidebar_icon: 'academic-cap-solid',
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'docker/overview',
+ label: 'Docker Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'docker',
},
- items: [
- {
- type: 'doc',
- id: 'object-storage/how-to/create',
- label: 'Create object storage service',
- },
- {
- type: 'doc',
- id: 'object-storage/how-to/update-bucket',
- label: 'Change bucket size or access policy',
- },
- {
- type: 'doc',
- id: 'object-storage/how-to/access',
- label: 'Access object storage service',
- },
- {
- type: 'doc',
- id: 'object-storage/how-to/delete',
- label: 'Delete object storage service',
- },
- {
- type: 'doc',
- id: 'object-storage/how-to/curl-file',
- label: 'Download file from a private bucket',
- },
- ],
},
],
- deno: [
+ mariadb: [
{
type: 'ref',
id: 'homepage',
@@ -2236,11 +1913,11 @@ module.exports = {
},
{
type: 'doc',
- id: 'deno/overview',
- label: 'Getting Started',
+ id: 'mariadb/overview',
+ label: 'Zerops MariaDB Service',
customProps: {
sidebar_is_title: true,
- sidebar_icon: 'deno',
+ sidebar_icon: 'mariadb',
},
},
{
@@ -2249,89 +1926,73 @@ module.exports = {
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
- sidebar_icon: 'academic-cap-solid',
},
items: [
{
type: 'doc',
- id: 'deno/how-to/create',
- label: 'Create Deno service',
- },
- {
- type: 'doc',
- id: 'deno/how-to/env-variables',
- label: 'Manage environment variables',
- },
- {
- type: 'doc',
- id: 'deno/how-to/upgrade',
- label: 'Upgrade Deno service',
- },
- {
- type: 'doc',
- id: 'deno/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
- },
- {
- type: 'doc',
- id: 'deno/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
- },
- {
- type: 'doc',
- id: 'deno/how-to/build-process',
- label: 'Build process',
+ id: 'mariadb/how-to/create',
+ label: 'Create MariaDB service',
},
{
type: 'doc',
- id: 'deno/how-to/deploy-process',
- label: 'Deploy process',
+ id: 'mariadb/how-to/connect',
+ label: 'Connect to MariaDB',
},
{
type: 'doc',
- id: 'deno/how-to/customize-runtime',
- label: 'Customize Deno runtime',
+ id: 'mariadb/how-to/manage',
+ label: 'Manage users and databases',
},
{
type: 'doc',
- id: 'deno/how-to/logs',
- label: 'Setup & access logs',
+ id: 'mariadb/how-to/export-import-data',
+ label: 'Export and import data',
},
{
type: 'doc',
- id: 'deno/how-to/filebrowser',
- label: 'Browse container files',
+ id: 'mariadb/how-to/backup',
+ label: 'Backup data',
},
{
type: 'doc',
- id: 'deno/how-to/access',
- label: 'Access Bun runtime service',
+ id: 'mariadb/how-to/scale',
+ label: 'Scale MariaDB service',
},
{
type: 'doc',
- id: 'deno/how-to/scaling',
- label: 'Scale Deno runtime service',
+ id: 'mariadb/how-to/control',
+ label: 'Stop and start MariaDB service',
},
{
type: 'doc',
- id: 'deno/how-to/controls',
- label: 'Stop & start Deno runtime service',
+ id: 'mariadb/how-to/delete',
+ label: 'Delete MariaDB service',
},
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Technical details',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
- id: 'deno/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
+ id: 'mariadb/tech-details/cluster',
+ label: 'MariaDB cluster asynchronous behaviour',
},
{
type: 'doc',
- id: 'deno/how-to/delete',
- label: 'Delete Deno service',
+ id: 'mariadb/tech-details/limitations',
+ label: 'Technical limitations of MariaDB cluster',
},
],
},
// {
// type: 'doc',
- // id: 'deno/faq',
+ // id: 'mariadb/faq',
// label: 'FAQ',
// customProps: {
// sidebar_is_title: true,
@@ -2339,7 +2000,7 @@ module.exports = {
// },
// },
],
- bun: [
+ postgresql: [
{
type: 'ref',
id: 'homepage',
@@ -2351,11 +2012,11 @@ module.exports = {
},
{
type: 'doc',
- id: 'bun/overview',
- label: 'Getting Started',
+ id: 'postgresql/overview',
+ label: 'Zerops PostgreSQL Service',
customProps: {
sidebar_is_title: true,
- sidebar_icon: 'bun',
+ sidebar_icon: 'postgresql',
},
},
{
@@ -2368,84 +2029,173 @@ module.exports = {
items: [
{
type: 'doc',
- id: 'bun/how-to/create',
- label: 'Create Bun service',
- },
- {
- type: 'doc',
- id: 'bun/how-to/env-variables',
- label: 'Manage environment variables',
- },
- {
- type: 'doc',
- id: 'bun/how-to/upgrade',
- label: 'Upgrade Bun service',
+ id: 'postgresql/how-to/create',
+ label: 'Create PostgreSQL service',
},
{
type: 'doc',
- id: 'bun/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
+ id: 'postgresql/how-to/connect',
+ label: 'Connect to PostgreSQL',
},
{
type: 'doc',
- id: 'bun/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
+ id: 'postgresql/how-to/manage',
+ label: 'Manage users, databases & plugins',
},
{
type: 'doc',
- id: 'bun/how-to/build-process',
- label: 'Build process',
+ id: 'postgresql/how-to/export-import-data',
+ label: 'Export and import data',
},
{
type: 'doc',
- id: 'bun/how-to/deploy-process',
- label: 'Deploy process',
+ id: 'postgresql/how-to/scale',
+ label: 'Scale PostgreSQL service',
},
{
type: 'doc',
- id: 'bun/how-to/customize-runtime',
- label: 'Customize Bun runtime',
+ id: 'postgresql/how-to/control',
+ label: 'Stop and start PostgreSQL service',
},
{
type: 'doc',
- id: 'bun/how-to/logs',
- label: 'Setup & access logs',
+ id: 'postgresql/how-to/delete',
+ label: 'Delete PostgreSQL service',
},
+ ],
+ },
+ // {
+ // type: "category",
+ // label: "Technical details",
+ // collapsible: false,
+ // customProps: {
+ // sidebar_is_group_headline: true,
+ // },
+ // items: [
+ // {
+ // type: "doc",
+ // id: "postgresql/tech-details/cluster",
+ // label: "PostgreSQL cluster asynchronous behaviour",
+ // },
+ // {
+ // type: "doc",
+ // id: "postgresql/tech-details/limitations",
+ // label: "Technical limitations of PostgreSQL cluster",
+ // },
+ // ],
+ // },
+ {
+ type: 'doc',
+ id: 'postgresql/faq',
+ label: 'FAQ',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'chat-bubble-left-right',
+ },
+ },
+ ],
+// mongodb: [
+// {
+// type: 'ref',
+// id: 'homepage',
+// label: 'Back to home',
+// customProps: {
+// sidebar_is_back_link: true,
+// sidebar_icon: 'back-arrow',
+// },
+// },
+ // {
+ // type: 'doc',
+ // id: 'mongodb/overview',
+ // label: 'Zerops MongoDB Service',
+ // customProps: {
+ // sidebar_is_title: true,
+ // sidebar_icon: 'mongodb',
+ // },
+ // },
+// ],
+ elasticsearch: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'elasticsearch/overview',
+ label: 'Zerops Elasticsearch Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'elasticsearch',
+ },
+ },
+ ],
+ keydb: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'keydb/overview',
+ label: 'Zerops KeyDB Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'keydb',
+ },
+ },
+ {
+ type: 'category',
+ label: 'How-to',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
{
type: 'doc',
- id: 'bun/how-to/filebrowser',
- label: 'Browse container files',
+ id: 'keydb/how-to/create',
+ label: 'Create KeyDB service',
},
{
type: 'doc',
- id: 'bun/how-to/access',
- label: 'Access Bun runtime service',
+ id: 'keydb/how-to/connect',
+ label: 'Connect to KeyDB',
},
{
type: 'doc',
- id: 'bun/how-to/scaling',
- label: 'Scale Bun runtime service',
+ id: 'keydb/how-to/manage',
+ label: 'Manage users and databases',
},
{
type: 'doc',
- id: 'bun/how-to/controls',
- label: 'Stop & start Bun runtime service',
+ id: 'keydb/how-to/scale',
+ label: 'Scale KeyDB service',
},
{
type: 'doc',
- id: 'bun/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
+ id: 'keydb/how-to/control',
+ label: 'Stop and start KeyDB service',
},
{
type: 'doc',
- id: 'bun/how-to/delete',
- label: 'Delete Bun service',
+ id: 'keydb/how-to/delete',
+ label: 'Delete KeyDB service',
},
],
},
// {
// type: 'doc',
- // id: 'bun/faq',
+ // id: 'keydb/faq',
// label: 'FAQ',
// customProps: {
// sidebar_is_title: true,
@@ -2453,7 +2203,172 @@ module.exports = {
// },
// },
],
- gleam: [
+ typesense: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'typesense/overview',
+ label: 'Zerops Typesense Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'typesense',
+ },
+ },
+ ],
+ meilisearch: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'meilisearch/overview',
+ label: 'Zerops Meilisearch Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'meilisearch',
+ },
+ },
+ ],
+ valkey: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'valkey/overview',
+ label: 'Zerops Valkey Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'valkey',
+ },
+ },
+ ],
+ qdrant: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'qdrant/overview',
+ label: 'Zerops Qdrant Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'qdrant',
+ },
+ },
+ ],
+ nats: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'nats/overview',
+ label: 'Zerops NATS Service',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'nats',
+ },
+ },
+ ],
+ // rabbitmq: [
+ // {
+ // type: "ref",
+ // id: "homepage",
+ // label: "Back to home",
+ // customProps: {
+ // sidebar_is_back_link: true,
+ // sidebar_icon: "back-arrow",
+ // },
+ // },
+ // {
+ // type: "doc",
+ // id: "rabbitmq/overview",
+ // label: "Zerops RabbitMQ Service",
+ // customProps: {
+ // sidebar_is_title: true,
+ // sidebar_icon: "rabbitmq",
+ // },
+ // },
+ // {
+ // type: "category",
+ // label: "How-to",
+ // collapsible: false,
+ // customProps: {
+ // sidebar_is_group_headline: true,
+ // },
+ // items: [
+ // {
+ // type: "doc",
+ // id: "rabbitmq/how-to/create",
+ // label: "Create RabbitMQ service",
+ // },
+ // {
+ // type: "doc",
+ // id: "rabbitmq/how-to/connect",
+ // label: "Connect to RabbitMQ",
+ // },
+ // {
+ // type: "doc",
+ // id: "rabbitmq/how-to/manage",
+ // label: "Manage users and databases",
+ // },
+ // {
+ // type: "doc",
+ // id: "rabbitmq/how-to/export-import-data",
+ // label: "Export and import data",
+ // },
+ // {
+ // type: "doc",
+ // id: "rabbitmq/how-to/scale",
+ // label: "Scale RabbitMQ service",
+ // },
+ // {
+ // type: "doc",
+ // id: "rabbitmq/how-to/control",
+ // label: "Stop and start RabbitMQ service",
+ // },
+ // {
+ // type: "doc",
+ // id: "rabbitmq/how-to/delete",
+ // label: "Delete RabbitMQ service",
+ // },
+ // ],
+ // },
+ // ],
+ sharedstorage: [
{
type: 'ref',
id: 'homepage',
@@ -2465,11 +2380,11 @@ module.exports = {
},
{
type: 'doc',
- id: 'gleam/overview',
- label: 'Getting Started',
+ id: 'shared-storage/overview',
+ label: 'Shared storage overview',
customProps: {
sidebar_is_title: true,
- sidebar_icon: 'gleam',
+ sidebar_icon: 'server',
},
},
{
@@ -2478,96 +2393,47 @@ module.exports = {
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
+ sidebar_icon: 'academic-cap-solid',
},
items: [
{
type: 'doc',
- id: 'gleam/how-to/create',
- label: 'Create Gleam service',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/env-variables',
- label: 'Manage environment variables',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/upgrade',
- label: 'Upgrade Gleam service',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/build-process',
- label: 'Build process',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/deploy-process',
- label: 'Deploy process',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/customize-runtime',
- label: 'Customize Gleam runtime',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/logs',
- label: 'Setup & access logs',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/filebrowser',
- label: 'Browse container files',
- },
- {
- type: 'doc',
- id: 'gleam/how-to/access',
- label: 'Access Gleam runtime service',
+ id: 'shared-storage/how-to/create',
+ label: 'Create shared storage',
},
{
type: 'doc',
- id: 'gleam/how-to/scaling',
- label: 'Scale Gleam runtime service',
+ id: 'shared-storage/how-to/connect',
+ label: 'Connect shared storage',
},
{
type: 'doc',
- id: 'gleam/how-to/controls',
- label: 'Stop & start Gleam runtime service',
+ id: 'shared-storage/how-to/use',
+ label: 'Usage & Limitations',
},
{
type: 'doc',
- id: 'gleam/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
+ id: 'shared-storage/how-to/manage',
+ label: 'Manage & Access shared storage',
},
{
type: 'doc',
- id: 'gleam/how-to/delete',
- label: 'Delete Gleam service',
+ id: 'shared-storage/how-to/backup',
+ label: 'Backup shared storage',
},
],
},
- // {
- // type: 'doc',
- // id: 'gleam/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
+ {
+ type: 'doc',
+ id: 'shared-storage/tech-details',
+ label: 'Technical details',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'document-text',
+ },
+ },
],
- elixir: [
+ objectstorage: [
{
type: 'ref',
id: 'homepage',
@@ -2579,11 +2445,11 @@ module.exports = {
},
{
type: 'doc',
- id: 'elixir/overview',
- label: 'Getting Started',
+ id: 'object-storage/overview',
+ label: 'Object Storage Overview',
customProps: {
sidebar_is_title: true,
- sidebar_icon: 'elixir',
+ sidebar_icon: 'server',
},
},
{
@@ -2592,95 +2458,577 @@ module.exports = {
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
+ sidebar_icon: 'academic-cap-solid',
},
- items: [
- {
- type: 'doc',
- id: 'elixir/how-to/create',
- label: 'Create Gleam service',
- },
- {
- type: 'doc',
- id: 'elixir/how-to/env-variables',
- label: 'Manage environment variables',
- },
- {
- type: 'doc',
- id: 'elixir/how-to/upgrade',
- label: 'Upgrade Gleam service',
- },
- {
- type: 'doc',
- id: 'elixir/how-to/build-pipeline',
- label: 'Configure build & deploy pipeline',
- },
- {
- type: 'doc',
- id: 'elixir/how-to/trigger-pipeline',
- label: 'Trigger build pipeline',
- },
+ items: [
{
type: 'doc',
- id: 'elixir/how-to/build-process',
- label: 'Build process',
+ id: 'object-storage/how-to/create',
+ label: 'Create object storage service',
},
{
type: 'doc',
- id: 'elixir/how-to/deploy-process',
- label: 'Deploy process',
+ id: 'object-storage/how-to/update-bucket',
+ label: 'Change bucket size or access policy',
},
{
type: 'doc',
- id: 'elixir/how-to/customize-runtime',
- label: 'Customize Gleam runtime',
+ id: 'object-storage/how-to/access',
+ label: 'Access object storage service',
},
{
type: 'doc',
- id: 'elixir/how-to/logs',
- label: 'Setup & access logs',
+ id: 'object-storage/how-to/delete',
+ label: 'Delete object storage service',
},
{
type: 'doc',
- id: 'elixir/how-to/filebrowser',
- label: 'Browse container files',
+ id: 'object-storage/how-to/curl-file',
+ label: 'Download file from a private bucket',
},
- {
- type: 'doc',
- id: 'elixir/how-to/access',
- label: 'Access Gleam runtime service',
+ ],
+ },
+ ],
+ deno: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
},
- {
- type: 'doc',
- id: 'elixir/how-to/scaling',
- label: 'Scale Gleam runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'deno/overview',
+ label: 'Getting Started',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'deno',
},
- {
- type: 'doc',
- id: 'elixir/how-to/controls',
- label: 'Stop & start Gleam runtime service',
+ },
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'elixir/how-to/shared-storage',
- label: 'Connect / disconnect shared storage',
+ items: [
+ {
+ type: 'doc',
+ id: 'deno/how-to/create',
+ label: 'Create Deno service',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/upgrade',
+ label: 'Upgrade Deno service',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/delete',
+ label: 'Delete Deno service',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/controls',
+ label: 'Stop & start Deno runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- {
- type: 'doc',
- id: 'elixir/how-to/delete',
- label: 'Delete Gleam service',
+ items: [
+ {
+ type: 'doc',
+ id: 'deno/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/customize-runtime',
+ label: 'Customize Deno runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
},
- ],
- },
- // {
- // type: 'doc',
- // id: 'elixir/faq',
- // label: 'FAQ',
- // customProps: {
- // sidebar_is_title: true,
- // sidebar_icon: 'chat-bubble-left-right',
- // },
- // },
- ],
+ items: [
+ {
+ type: 'doc',
+ id: 'deno/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'deno/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/access',
+ label: 'Access Bun runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/scaling',
+ label: 'Scale Deno runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'deno/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ ],
+ bun: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'bun/overview',
+ label: 'Getting Started',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'bun',
+ },
+ },
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'bun/how-to/create',
+ label: 'Create Bun service',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/upgrade',
+ label: 'Upgrade Bun service',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/delete',
+ label: 'Delete Bun service',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/controls',
+ label: 'Stop & start Bun runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'bun/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/customize-runtime',
+ label: 'Customize Bun runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'bun/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'bun/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/access',
+ label: 'Access Bun runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/scaling',
+ label: 'Scale Bun runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'bun/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ ],
+ gleam: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'gleam/overview',
+ label: 'Getting Started',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'gleam',
+ },
+ },
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'gleam/how-to/create',
+ label: 'Create Gleam service',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/upgrade',
+ label: 'Upgrade Gleam service',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/delete',
+ label: 'Delete Gleam service',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/controls',
+ label: 'Stop & start Gleam runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'gleam/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/customize-runtime',
+ label: 'Customize Gleam runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'gleam/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'gleam/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/access',
+ label: 'Access Gleam runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/scaling',
+ label: 'Scale Gleam runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'gleam/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ ],
+ elixir: [
+ {
+ type: 'ref',
+ id: 'homepage',
+ label: 'Back to home',
+ customProps: {
+ sidebar_is_back_link: true,
+ sidebar_icon: 'back-arrow',
+ },
+ },
+ {
+ type: 'doc',
+ id: 'elixir/overview',
+ label: 'Getting Started',
+ customProps: {
+ sidebar_is_title: true,
+ sidebar_icon: 'elixir',
+ },
+ },
+ {
+ type: 'category',
+ label: 'Management',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'elixir/how-to/create',
+ label: 'Create Elixir service',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/upgrade',
+ label: 'Upgrade Elixir service',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/delete',
+ label: 'Delete Elixir service',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/controls',
+ label: 'Stop & start Elixir runtime service',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Configuration & Environment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'elixir/how-to/env-variables',
+ label: 'Manage environment variables',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/customize-runtime',
+ label: 'Customize Elixir runtime',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Build & Deployment',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'elixir/how-to/build-pipeline',
+ label: 'Configure build & deploy pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/trigger-pipeline',
+ label: 'Trigger build pipeline',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/build-process',
+ label: 'Build process',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/deploy-process',
+ label: 'Deploy process',
+ },
+ ],
+ },
+ {
+ type: 'category',
+ label: 'Maintenance & Monitoring',
+ collapsible: false,
+ customProps: {
+ sidebar_is_group_headline: true,
+ },
+ items: [
+ {
+ type: 'doc',
+ id: 'elixir/how-to/logs',
+ label: 'Setup & access logs',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/filebrowser',
+ label: 'Browse container files',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/access',
+ label: 'Access Elixir runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/scaling',
+ label: 'Scale Elixir runtime service',
+ },
+ {
+ type: 'doc',
+ id: 'elixir/how-to/shared-storage',
+ label: 'Connect / disconnect shared storage',
+ },
+ ],
+ },
+ ],
laravel: [
{
type: 'ref',
@@ -2872,206 +3220,3 @@ module.exports = {
},
],
};
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// {
-// type: "category",
-// label: "Nest.js",
-// link: {
-// type: "doc",
-// id: "frameworks/nestjs/index",
-// },
-// customProps: {
-// sidebar_icon: "nestjs",
-// },
-// className: "homepage-sidebar-item",
-// items: [
-// {
-// type: "doc",
-// id: "frameworks/nestjs/index",
-// label: "Overview & quickstart",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/log",
-// label: "Setup & access logs",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/template",
-// label: "Create templates with import & seed",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/env-variables",
-// label: "Utilize environment variables",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/migration",
-// label: "Migration & upgrades",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/backups",
-// label: "Backups",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/scaling",
-// label: "Optimize scaling",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/scaling",
-// label: "High availability, when, how, why",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/cron",
-// label: "CRON / Scheduled jobs",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/mails",
-// label: "SMTP & sending emails",
-// },
-// {
-// type: "doc",
-// id: "frameworks/nestjs/routing",
-// label: "Public access from domain, IP, subdomain",
-// },
-// ],
-// },
-// {
-// type: "category",
-// label: "Laravel",
-// link: {
-// type: "doc",
-// id: "frameworks/laravel/index",
-// },
-// customProps: {
-// sidebar_icon: "laravel",
-// },
-// className: "homepage-sidebar-item",
-// items: [
-// {
-// type: "doc",
-// id: "frameworks/laravel/examples",
-// label: "Examples",
-// customProps: {
-// exclude_from_doc_list: false,
-// },
-// },
-// ],
-// },
-// {
-// type: "category",
-// label: "Gingonic",
-// link: {
-// type: "doc",
-// id: "frameworks/gingonic/index",
-// },
-// customProps: {
-// sidebar_icon: "gingonic",
-// },
-// className: "homepage-sidebar-item",
-// items: [
-// {
-// type: "doc",
-// id: "frameworks/gingonic/examples",
-// label: "Examples",
-// customProps: {
-// exclude_from_doc_list: false,
-// },
-// },
-// ],
-// },
-// {
-// type: "category",
-// label: "Nette",
-// link: {
-// type: "doc",
-// id: "frameworks/nette/index",
-// },
-// customProps: {
-// sidebar_icon: "nette",
-// },
-// className: "homepage-sidebar-item",
-// items: [
-// {
-// type: "doc",
-// id: "frameworks/nette/examples",
-// label: "Examples",
-// customProps: {
-// exclude_from_doc_list: false,
-// },
-// },
-// ],
-// },
-// {
-// type: "category",
-// label: "Strapi",
-// link: {
-// type: "doc",
-// id: "frameworks/strapi/index",
-// },
-// customProps: {
-// sidebar_icon: "strapi",
-// },
-// className: "homepage-sidebar-item",
-// items: [
-// {
-// type: "doc",
-// id: "frameworks/strapi/examples",
-// label: "Examples",
-// customProps: {
-// exclude_from_doc_list: false,
-// },
-// },
-// ],
-// },
-// {
-// type: "category",
-// label: "Medusa",
-// link: {
-// type: "doc",
-// id: "frameworks/medusa/index",
-// },
-// customProps: {
-// sidebar_icon: "medusa",
-// },
-// className: "homepage-sidebar-item",
-// items: [
-// {
-// type: "doc",
-// id: "frameworks/medusa/examples",
-// label: "Examples",
-// customProps: {
-// exclude_from_doc_list: false,
-// },
-// },
-// ],
-// },
diff --git a/apps/docs/src/components/Footer/SocialLinks/index.tsx b/apps/docs/src/components/Footer/SocialLinks/index.tsx
index 8c9d659f..c660b193 100644
--- a/apps/docs/src/components/Footer/SocialLinks/index.tsx
+++ b/apps/docs/src/components/Footer/SocialLinks/index.tsx
@@ -3,6 +3,7 @@ import IconTwitter from '@site/src/theme/Icon/Twitter';
import IconGitHub from '@site/src/theme/Icon/GitHub';
import IconDiscord from '@site/src/theme/Icon/Discord';
import IconLinkedIn from '@site/src/theme/Icon/LinkedIn';
+import IconModel from '@site/src/theme/Icon/Model';
import { SocialLink } from '@medusajs/docs';
import Link from '@docusaurus/Link';
@@ -12,6 +13,9 @@ type SocialLinksProps = {
const SocialLinks: React.FC