build(v3): use pnpm, docker, docker-compose to orchestrate two services (client, server)

This commit is contained in:
Amruth Pillai
2022-03-07 13:43:34 +01:00
parent 9c1380f401
commit 938e2e8e25
23 changed files with 9355 additions and 11409 deletions

View File

@ -1,3 +1,4 @@
const { version } = require('../package.json');
const { i18n } = require('./next-i18next.config');
/** @type {import('next').NextConfig} */
@ -6,20 +7,15 @@ const nextConfig = {
i18n,
env: {
appVersion: '3.0.0',
appUrl: process.env.APP_URL,
serverUrl: process.env.SERVER_URL,
googleClientId: process.env.GOOGLE_CLIENT_ID,
},
images: {
domains: ['www.gravatar.com'],
},
experimental: {
externalDir: true,
outputStandalone: true,
env: {
appVersion: version,
appUrl: process.env.APP_URL,
serverUrl: process.env.SERVER_URL,
googleClientId: process.env.GOOGLE_CLIENT_ID,
},
// Hack to make Tailwind darkMode 'class' strategy with CSS Modules