Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/telkomindonesia/gomplate-docker
https://github.com/telkomindonesia/gomplate-docker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/telkomindonesia/gomplate-docker
- Owner: TelkomIndonesia
- Created: 2023-06-20T02:17:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-02T08:02:57.000Z (about 1 year ago)
- Last Synced: 2023-10-03T10:57:45.097Z (about 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gomplate Docker
Continuously watch `/opt/gomplate` directory for change and render templates in `/opt/gomplate/template.d` with config in `/opt/gomplate/config.yaml` and/or context in `/opt/gomplate/context.yaml` or datasources in `/opt/gomplate/datasource.d`. The output file is a one to one mapping from the template with `/opt/gomplate/template.d` omitted, e.g. `/opt/gomplate/template.d/tests/test.yaml` will render as `/tests/test.yaml`.
Note that you can specify config and/or context or datasources. In case of datasources without config and context, the filename (without extension) will be the alias, e.g. `/opt/gomplate/datasource.d/secret.yaml` has alias `secret`.