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.
This commit is contained in:
Mauricio Siu
2025-03-30 13:09:45 -06:00
parent 996600bf55
commit 60c1c62264
2 changed files with 14 additions and 11 deletions

View File

@@ -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) 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 ```toml
variables: [variables]
main_domain: ${domain} main_domain = "${domain}"
config: [config]
domains: [[config.domains]]
- serviceName: grafana serviceName = "grafana"
port: 3000 port = 3000
host: ${main_domain} host = "${main_domain}"
env: []
mounts: []
[[config.env]]
[[config.mounts]]
``` ```
4. Add meta information to the `meta.json` file in the root folder 4. Add meta information to the `meta.json` file in the root folder

View File

@@ -8,7 +8,7 @@ ACKEE_MONGODB = "mongodb://mongo:${MONGO_INITDB_ROOT_PASSWORD}@mongo:27017"
[[config.domains]] [[config.domains]]
serviceName = "ackee" serviceName = "ackee"
port = 3000 port = 3000
host = "${main_domain}" host = "${domain}"
[config.env] [config.env]
ACKEE_USERNAME = "${ACKEE_USERNAME}" ACKEE_USERNAME = "${ACKEE_USERNAME}"