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)
```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

View File

@ -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}"