Commit 6a01a898 authored by Addshore's avatar Addshore 🏄
Browse files

Tweak configuration for toolforge

parent a16b972f
name: Wikimedia
# Toolforge requires port 8000
app: app:
title: Wikimedia Backstage
# Should be the same as backend.baseUrl when using the `app-backend` plugin # Should be the same as backend.baseUrl when using the `app-backend` plugin
baseUrl: http://localhost:7000 baseUrl: http://localhost:8000
backend: backend:
baseUrl: http://localhost:7000 baseUrl: http://localhost:8000
listen: listen:
port: 7000 port: 8000
connect-src: ["'self'", 'http:', 'https:']
# Content-Security-Policy directives follow the Helmet format:
# Default Helmet Content-Security-Policy values can be removed by setting the key to false
methods: [GET, POST, PUT, DELETE]
credentials: true
\ No newline at end of file
...@@ -6,8 +6,9 @@ ...@@ -6,8 +6,9 @@
"node": "12 || 14" "node": "12 || 14"
}, },
"scripts": { "scripts": {
"dev": "concurrently \"yarn start\" \"yarn start-backend\"", "dev": "concurrently \"yarn start-frontend\" \"yarn start-backend\"",
"start": "yarn workspace app start", "start": "node packages/backend --config app-config.yaml",
"start-frontend": "yarn workspace app start",
"start-backend": "yarn workspace backend start", "start-backend": "yarn workspace backend start",
"build": "lerna run build", "build": "lerna run build",
"build-image": "yarn workspace backend build-image", "build-image": "yarn workspace backend build-image",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment