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