mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
bdca84bd09
* minor docker fixes * eslint config changes * dockerfile changes to backend and frontend * oauth enabled env flag * sentry enabled env flag * build: get alternatives for environment variables and static file storage * build: automatically generate random secret key if not provided * build: update docker compose for next url env add channels to requirements for asgi server and save files in local machine for docker environment * build: update nginx conf for backend base url update backend dockerfile to make way for static file uploads * feat: create a default user with given values else default values * chore: update docker python version and other dependency version in docker * build: update local settings file to run it in docker * fix: update script to run in default production setting * fix: env variable changes and env setup shell script added * Added Single Dockerfile to run the Entire plane application * docs build fixes --------- Co-authored-by: Narayana <narayana.vadapalli1996@gmail.com> Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
26 lines
674 B
JavaScript
26 lines
674 B
JavaScript
const { withSentryConfig } = require("@sentry/nextjs");
|
|
const path = require("path");
|
|
|
|
const nextConfig = {
|
|
reactStrictMode: false,
|
|
swcMinify: true,
|
|
images: {
|
|
domains: [
|
|
"vinci-web.s3.amazonaws.com",
|
|
"planefs-staging.s3.ap-south-1.amazonaws.com",
|
|
"planefs.s3.amazonaws.com",
|
|
],
|
|
},
|
|
output: "standalone",
|
|
experimental: {
|
|
// this includes files from the monorepo base two directories up
|
|
outputFileTracingRoot: path.join(__dirname, "../../"),
|
|
},
|
|
};
|
|
|
|
if (process.env.NEXT_PUBLIC_ENABLE_SENTRY) {
|
|
module.exports = withSentryConfig(nextConfig, { silent: true }, { hideSourceMaps: true });
|
|
} else {
|
|
module.exports = nextConfig;
|
|
}
|