Refactor Docker Compose for PostgreSQL and Redis services
This commit is contained in:
@@ -9,8 +9,6 @@ import { EmailPlugin, FileBasedTemplateLoader, defaultEmailHandlers } from '@pho
|
||||
import { BillBeePlugin } from "@phoenix/bill-bee-plugin";
|
||||
import { ChannelPilotProPlugin } from "@phoenix/channel-pilot-pro-plugin";
|
||||
import { ShopifyPlugin } from '@phoenix/shopify-plugin';
|
||||
//import { BonnAPIPlugin } from '../plugins/bonn-api-plugin/bonn-api-plugin.module';
|
||||
// import { DefaultJobQueuePlugin } from '@phoenix/system_service';
|
||||
|
||||
/**
|
||||
* Config settings used during development
|
||||
@@ -89,7 +87,9 @@ export const customConfig: SystemConfig = {
|
||||
port: 5002,
|
||||
assetUrlPrefix: "\\remote-assets\\" // to make it relative for client
|
||||
}),
|
||||
DefaultJobQueuePlugin.init({}),
|
||||
DefaultJobQueuePlugin.init({
|
||||
useDatabaseForBuffer: true
|
||||
}),
|
||||
EmailPlugin.init({
|
||||
sendRealEmails: true,
|
||||
route: 'mailbox',
|
||||
@@ -128,20 +128,7 @@ export const customConfig: SystemConfig = {
|
||||
}
|
||||
}),
|
||||
ShopifyPlugin.init({
|
||||
active: process.env.SHOPIFY_ACTIVE === 'true',
|
||||
connectionInfo: {
|
||||
url: process.env.SHOPIFY_HOST_NAME,
|
||||
apiKey: process.env.SHOPIFY_API_KEY,
|
||||
apiSecretKey: process.env.SHOPIFY_API_SECRET,
|
||||
token: process.env.SHOPIFY_TOKEN,
|
||||
// scopes: process.env.SHOPIFY_SCOPES.split(','),
|
||||
hostName: process.env.SHOPIFY_HOST_NAME,
|
||||
hostScheme: process.env.SHOPIFY_HOST_SCHEME === 'https' ? 'https' : 'http',
|
||||
isEmbeddedApp: process.env.SHOPIFY_IS_EMBEDDED_APP === 'true',
|
||||
header: {
|
||||
'X-Shopify-Access-Token': process.env.SHOPIFY_TOKEN,
|
||||
}
|
||||
}
|
||||
active: process.env.SHOPIFY_ACTIVE === 'true'
|
||||
}),
|
||||
// DefaultStoragePlaceRankPlugin.init({})
|
||||
// new DefaultSearchPlugin(),
|
||||
|
||||
Reference in New Issue
Block a user