File size: 887 Bytes
542878f
 
 
 
 
99b253c
542878f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
http:
  middlewares:
    dashboard-auth:
      basicAuth:
        users:
          - "admin:$apr1$vO3/IDvg$JrbhU9NSQub83/mQu9/fP1"
        
    rate-limit:
      rateLimit:
        average: 100
        burst: 50

  routers:
    api:
      rule: "PathPrefix(`/api`)"
      entryPoints:
        - "web"
      middlewares:
        - "dashboard-auth"
        - "rate-limit"
      service: "api@internal"

    dashboard:
      rule: "PathPrefix(`/dashboard`)"
      entryPoints:
        - "web"
      middlewares:
        - "dashboard-auth"
        - "rate-limit"
      service: "api@internal"

    crypto-lists:
      rule: "PathPrefix(`/crypto/lists`)"
      entryPoints:
        - "websecure"
      service: "crypto-lists-service"

  services:
    crypto-lists-service:
      loadBalancer:
        servers:
          - url: "https://qywok-cryptocurrency-prediction.hf.space/crypto/lists"