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:
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)
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user