Skip to content
Prasad Talasila edited this page Mar 14, 2024 · 5 revisions

Configuration files

CLI

filename: dtaas.toml

# This is the config for DTaaS CLI

name = "Digital Twin as a Service (DTaaS)"
version = "0.1"
owner = "The INTO-CPS-Association"
git-repo = "https://github.com/into-cps-association/DTaaS.git"

[common]
# absolute path to the DTaaS application directory
path = "/home/dtaas/app"
install-mode = "" # Three possibilities - local,trial,prod
url = "http://localhost" # HTTPS and IP address are also valid
basename = "bar" #path suffix to url, ex: http://localhost/bar

[users]

# matching user info must present in this config file
add = ["username1","username2"] 
remove = ["username3"]

[users.username1]
email = "[email protected]"

[users.username2]
email = "[email protected]"

[users.username3]
email = "[email protected]"

[client.web]
config = "/home/dtaas/app/config/client/env.local.js"

Goal is to generate the following files from the single config file given above

Docker compose

filename: any but preferably .env

Traefik forward-auth

filename: any but preferably conf.<xxxx>

Client

filename: env.js

Lib MS

filename: any but preferably .env

Runner

Clone this wiki locally