Browse Source

Added docs

master
Patrick Gaskin 6 months ago
parent
commit
f7a2ebb25d
Signed by: geek1011 GPG Key ID: A2FD79F68A2AB707
2 changed files with 61 additions and 0 deletions
  1. +2
    -0
      README.md
  2. +59
    -0
      services.sample.conf

+ 2
- 0
README.md View File

@ -0,0 +1,2 @@
# Dashboard
A simple web application dashboard with authentication support.

+ 59
- 0
services.sample.conf View File

@ -0,0 +1,59 @@
[dashboard]
title = "example.com"
[auth.jwt]
secret = "MYSECRETMYSECRET"
alg = "HS512"
cookie_name = "jwt_token"
login_url = "/login"
logout_url = "/login?logout=true"
callback_param = "backTo"
# Note: currently, the tags don't do anything visible, but filtering and an API
# is planned.
[tags.host]
name = "Host"
desc = "Which host runs the app."
[tags.provider]
name = "Service Provider"
desc = "Which service the app is hosted on."
[apps.dev]
name = "Development"
[apps.dev.app.git]
name = "Git"
domain = "git.example.com"
link = "https://git.example.com"
icon = "git.png"
order = -1
tags = [
"host::do-srv1",
"provider::digitalocean",
]
[apps.dev.app.vscode]
name = "code-server"
domain = "code.example.com"
link = "https://code.example.com"
icon = "vscode.png"
order = -1
tags = [
"provider::gke",
]
users = ["jwt::myusername"]
[apps.api]
name = "APIs"
order = 1
[apps.api.app.cors]
name = "corsproxy"
domain = "cors.example.com"
link = "https://cors.example.com"
tags = [
"host::do-srv1",
"provider::digitalocean",
]

Loading…
Cancel
Save