mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
experiments with docker packaging, figuring out deploy plan
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
const withPlugins = require('next-compose-plugins');
|
||||
const withNx = require('@nrwl/next/plugins/with-nx');
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({ enabled: process.env.ANALYZE === 'true' });
|
||||
|
||||
const { i18n } = require('./next-i18next.config');
|
||||
|
||||
@ -50,4 +48,4 @@ const nextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = withPlugins([withNx, withBundleAnalyzer], nextConfig);
|
||||
module.exports = withNx(nextConfig);
|
||||
|
||||
@ -30,6 +30,11 @@
|
||||
"executor": "@nrwl/node:execute",
|
||||
"options": {
|
||||
"buildTarget": "server:build"
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "server:build:production"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
|
||||
@ -19,7 +19,7 @@ const validationSchema = Joi.object({
|
||||
|
||||
// Database
|
||||
POSTGRES_HOST: Joi.string().required(),
|
||||
POSTGRES_PORT: Joi.string().required(),
|
||||
POSTGRES_PORT: Joi.string().default(5432),
|
||||
POSTGRES_USERNAME: Joi.string().required(),
|
||||
POSTGRES_PASSWORD: Joi.string().required(),
|
||||
POSTGRES_DATABASE: Joi.string().required(),
|
||||
|
||||
Reference in New Issue
Block a user