aboutsummaryrefslogtreecommitdiff
blob: 2ed23d8e7d06de8364cf701606fc8ef90f2c43ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
  "$schema": "https://www.krakend.io/schema/v3.json",
  "version": 3,
  "name": "Checkin.bot API",
  "extra_config": {
    "telemetry/influx": {
      "address": "http://influx:8086",
      "ttl": "25s",
      "buffer_size": 100,
      "db": "krakend",
      "username": "krakend",
      "password": "password"
    },
    "telemetry/metrics": {
      "collection_time": "60s",
      "proxy_disabled": false,
      "router_disabled": false,
      "backend_disabled": false,
      "endpoint_disabled": false,
      "listen_address": ":8090"
    }
  },
  "timeout": "3000ms",
  "cache_ttl": "300s",
  "output_encoding": "json",
  "debug_endpoint": true,
  "endpoints": [
    {
      "endpoint": "/checkinbot/webhook",
      "method": "POST",
      "output_encoding": "json",
      "backend": [
        {
          "url_pattern": "/checkinbot/webhook",
          "encoding": "json",
          "sd": "static",
          "method": "POST",
          "host": [
            "http://checkinbot:8080"
          ],
          "disable_host_sanitize": false
        }
      ]
    },
    {
      "endpoint": "/checkinbot/healthcheck",
      "method": "GET",
      "output_encoding": "string",
      "backend": [
        {
          "url_pattern": "/checkinbot/healthcheck",
          "encoding": "string",
          "sd": "static",
          "method": "GET",
          "host": [
            "http://checkinbot:8080"
          ],
          "disable_host_sanitize": false
        }
      ]
    },
    {
      "endpoint": "/checkinbot/fedi_login_callback",
      "method": "GET",
      "output_encoding": "string",
      "backend": [
        {
          "url_pattern": "/checkinbot/fedi_login_callback",
          "encoding": "string",
          "sd": "static",
          "method": "GET",
          "disable_host_sanitize": false,
          "host": [
            "http://checkinbot:8080"
          ]
        }
      ],
      "input_query_strings": [
        "code",
        "state"
      ]
    }
  ]
}
Powered by cgit v1.2.3 (git 2.41.0)