github.com/hellofresh/janus@v0.0.0-20230925145208-ce8de8183c67/examples/front-proxy-cluster/janus.toml (about)

     1  ################################################################
     2  # Global configuration
     3  ################################################################
     4  port = 8080
     5  
     6  [log]
     7    level = "debug"
     8  
     9  ################################################################
    10  # API configuration backend
    11  ################################################################
    12  [web]
    13    port = 8081
    14  
    15    [web.credentials]
    16      secret = "secret"
    17  
    18      [web.credentials.basic]
    19      users = {admin = "admin"}
    20  
    21  [database]
    22     dsn = "mongodb://janus-database:27017/janus"
    23  
    24  [cluster]
    25    UpdateFrequency = "5s"