From c8ca14f0f0cad6d441a56d3fc56fa730c7f7c61a Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Mon, 10 Mar 2025 00:12:53 -0600 Subject: [PATCH] docs: Improve README formatting for template.yml sections --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 30a4dd6b..0b615a7b 100644 --- a/README.md +++ b/README.md @@ -76,20 +76,21 @@ Dokploy use a defined structure for the `template.yml` file, we have 4 sections 3. `env`: This is where we define the environment variables for the template. 4. `mounts`: This is where we define the mounts for the template. -1. the `variables(Optional)` structure is the following: + +- The `variables(Optional)` structure is the following: ```yaml -1. variables: +variables: main_domain: ${domain} - -2. variables: - my-domain: https://my-domain.com + my_domain: https://my-domain.com + my_password: ${password:32} + any_helper: ${you-can-use-any-helper} ``` -2. the `config` structure is the following: +- The `config` structure is the following: ```yaml -1. config: +config: domains: # Optional - serviceName: grafana # Required port: 3000 # Required