app-config.production.yaml 1.02 KB
Newer Older
Addshore's avatar
Addshore committed
1
2
3
4
5
6
organization:
  name: Wikimedia

# Toolforge requires port 8000
# https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Node.js

Addshore's avatar
Addshore committed
7
app:
Addshore's avatar
Addshore committed
8
  title: Wikimedia Backstage
Addshore's avatar
Addshore committed
9
  # Should be the same as backend.baseUrl when using the `app-backend` plugin
10
  baseUrl: https://backstage.toolforge.org
Addshore's avatar
Addshore committed
11
12

backend:
13
  baseUrl: https://backstage.toolforge.org
Addshore's avatar
Addshore committed
14
  listen:
Addshore's avatar
Addshore committed
15
16
17
18
19
20
21
22
    port: 8000
  csp:
    connect-src: ["'self'", 'http:', 'https:']
    # Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
    # Default Helmet Content-Security-Policy values can be removed by setting the key to false
  cors:
    origin: https://backstage.toolforge.org
    methods: [GET, POST, PUT, DELETE]
Addshore's avatar
t    
Addshore committed
23
24
    credentials: true

25
26
27
28
29
integrations:
  gitlab:
    - host: gitlab.wikimedia.org
      apiBaseUrl: https://gitlab.wikimedia.org/api/v4

Addshore's avatar
t    
Addshore committed
30
31
32
33
34
catalog:
  rules:
    - allow: [Component, System, API, Group, User, Resource, Location]
  locations:
    - type: url
35
      target: https://gitlab.wikimedia.org/addshore/backstage/-/raw/main/data/all.yaml