feat: Introduce new plans for the cloud

This commit is contained in:
Faruk AYDIN
2023-04-26 12:13:39 +02:00
parent c0171e1cd1
commit c12703422c
2 changed files with 18 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ type AppConfig = {
webhookUrl: string;
appEnv: string;
isDev: boolean;
isProd: boolean;
postgresDatabase: string;
postgresSchema: string;
postgresPort: number;
@@ -80,6 +81,7 @@ const appConfig: AppConfig = {
port,
appEnv: appEnv,
isDev: appEnv === 'development',
isProd: appEnv === 'production',
version: process.env.npm_package_version,
postgresDatabase: process.env.POSTGRES_DATABASE || 'automatisch_development',
postgresSchema: process.env.POSTGRES_SCHEMA || 'public',