From 60c1c62264610b7aa19717c788a7e8c91d48b9da Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 30 Mar 2025 13:09:45 -0600 Subject: [PATCH] Refactor README and Ackee template.toml to use TOML format - Updated README.md to replace YAML configuration with TOML format for clarity and consistency. - Modified the Ackee template.toml to correct the host variable from `${main_domain}` to `${domain}` for accurate configuration. --- README.md | 23 +++++++++++++---------- blueprints/ackee/template.toml | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 01fe605..3c706ab 100644 --- a/README.md +++ b/README.md @@ -47,17 +47,20 @@ volumes: ``` 3. Add the `template.toml` file to the folder, this is where we specify the domains, mounts and env variables, to understand more the structure of `template.toml` you can read here [Template.toml structure](#template.toml-structure) -```yaml -variables: - main_domain: ${domain} +```toml +[variables] +main_domain = "${domain}" -config: - domains: - - serviceName: grafana - port: 3000 - host: ${main_domain} - env: [] - mounts: [] +[config] +[[config.domains]] +serviceName = "grafana" +port = 3000 +host = "${main_domain}" + + +[[config.env]] + +[[config.mounts]] ``` 4. Add meta information to the `meta.json` file in the root folder diff --git a/blueprints/ackee/template.toml b/blueprints/ackee/template.toml index f9fdf53..ebffa3e 100644 --- a/blueprints/ackee/template.toml +++ b/blueprints/ackee/template.toml @@ -8,7 +8,7 @@ ACKEE_MONGODB = "mongodb://mongo:${MONGO_INITDB_ROOT_PASSWORD}@mongo:27017" [[config.domains]] serviceName = "ackee" port = 3000 -host = "${main_domain}" +host = "${domain}" [config.env] ACKEE_USERNAME = "${ACKEE_USERNAME}"