Zert / bootsmann

Template engine for all config file types. To use with Docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bootsmann

Rewrite all config file types on docker startup.

Example of parameters sources:

  # Declare global section
  # All parameters declared here will be
  # available in all sections if not overwritten
  [$global]

  # Default placeholder boundaries, separated by space
  $placeholder = #{{ }}

  # Name of variable and value
  GLOBVAR = 55


  # Process a config file
  [example/cfg1.conf]
  # Overwrite default placeholder boundaries
  $placeholder = %[[ ]]
  PARAM = "simple string"

  [example/cfg2.ini]
  VALUE = "12345"

  # Process a shell name pattern
  # All files in this directory will be processed
  [example/dir/*]
  VAR = 1024
  $placeholder = !<< >>

About

Template engine for all config file types. To use with Docker.

License:Other


Languages

Language:Go 93.1%Language:Makefile 6.9%