mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
robots: Add robot federation for keyless auth (PROJQUAY-7652) adds the ability to configure federated auth for robots by using external OIDC providers. Each robot can be configured to have multiple external OIDC providers as the source for authentication.
49 lines
1.0 KiB
JavaScript
49 lines
1.0 KiB
JavaScript
const Dotenv = require('dotenv-webpack');
|
|
const {merge} = require('webpack-merge');
|
|
const common = require('./webpack.common.js');
|
|
const HOST = process.env.HOST || 'localhost';
|
|
const PORT = process.env.PORT || '9000';
|
|
|
|
module.exports = merge(common('development'), {
|
|
mode: 'development',
|
|
devtool: 'inline-source-map',
|
|
devServer: {
|
|
host: HOST,
|
|
port: PORT,
|
|
compress: true,
|
|
historyApiFallback: {
|
|
disableDotRule: true,
|
|
},
|
|
open: true,
|
|
proxy: {
|
|
'/api/v1': {
|
|
target: 'http://localhost:8080',
|
|
logLevel: 'debug',
|
|
},
|
|
'/csrf_token': {
|
|
target: 'http://localhost:8080',
|
|
logLevel: 'debug',
|
|
},
|
|
'/config': {
|
|
target: 'http://localhost:8080',
|
|
logLevel: 'debug',
|
|
},
|
|
},
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.css$/,
|
|
use: ['style-loader', 'css-loader'],
|
|
},
|
|
],
|
|
},
|
|
plugins: [
|
|
new Dotenv({
|
|
systemvars: true,
|
|
silent: true,
|
|
path: './.env.development',
|
|
}),
|
|
],
|
|
});
|