mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
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:
parent
996600bf55
commit
60c1c62264
23
README.md
23
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
|
||||
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user