1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

renamed and fixed up templates

This commit is contained in:
postmannen 2021-12-08 10:20:06 +01:00
parent e0d9803696
commit 352cf0456f
4 changed files with 16 additions and 16 deletions

View file

@ -114,7 +114,7 @@ func main() {
}
{
p := path.Join(*templateDir, "template_env.env")
p := path.Join(*templateDir, "env.env.tpl")
err := generateEnv(p, eData)
if err != nil {
@ -124,7 +124,7 @@ func main() {
}
{
p := path.Join(*templateDir, "template_docker-compose.yml")
p := path.Join(*templateDir, "docker-compose.yml.tpl")
err := generateDockerCompose(p, cData)
if err != nil {
log.Printf("%v\n", err)

View file

@ -17,17 +17,17 @@ CENTRAL_NODE_NAME=central
ROOT_CA_PATH=""
NKEY_SEED_FILE=/run/secrets/seed
START_PUB_REQ_HELLO=60
START_SUB_REQ_ERROR_LOG true
START_SUB_REQ_HELLO true
START_SUB_REQ_TO_FILE_APPEND true
START_SUB_REQ_TO_FILE true
START_SUB_REQ_PING true
START_SUB_REQ_PONG true
START_SUB_REQ_CLI_COMMAND true
START_SUB_REQ_TO_CONSOLE true
START_SUB_REQ_HTTP_GET true
START_SUB_REQ_TAIL_FILE true
START_SUB_REQ_CLI_COMMAND_CONT true
START_SUB_REQ_COPY_FILE_FROM true
START_SUB_REQ_COPY_FILE_TO true
START_SUB_REQ_RELAY true
START_SUB_REQ_ERROR_LOG=true
START_SUB_REQ_HELLO=true
START_SUB_REQ_TO_FILE_APPEND=true
START_SUB_REQ_TO_FILE=true
START_SUB_REQ_PING=true
START_SUB_REQ_PONG=true
START_SUB_REQ_CLI_COMMAND=true
START_SUB_REQ_TO_CONSOLE=true
START_SUB_REQ_HTTP_GET=true
START_SUB_REQ_TAIL_FILE=true
START_SUB_REQ_CLI_COMMAND_CONT=true
START_SUB_REQ_COPY_FILE_FROM=true
START_SUB_REQ_COPY_FILE_TO=true
START_SUB_REQ_RELAY=true