Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihanChen821 committed Nov 7, 2023
1 parent e1e3230 commit 9460f34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/cli/src/compose/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export const createComposeSpec = (config: InstallConfigSchema) => {
LOG_PRETTY: String(config.log.pretty),
};

const grpcDebugEnv = {
GRPC_TRACE: "all",
GRPC_VERBOSITY: "DEBUG",
};


const composeSpec = {
version: "3",
services: {} as Record<string, ServiceSpec>,
Expand Down Expand Up @@ -251,6 +257,7 @@ export const createComposeSpec = (config: InstallConfigSchema) => {
"AUTH_EXTERNAL_URL": join(BASE_PATH, "/auth"),
"PUBLIC_PATH": join(BASE_PATH, publicPath),
"AUDIT_DEPLOYED": config.audit ? "true" : "false",
...grpcDebugEnv,
},
ports: {},
volumes: {
Expand Down Expand Up @@ -283,6 +290,7 @@ export const createComposeSpec = (config: InstallConfigSchema) => {
"SCOW_LAUNCH_APP": "audit-server",
"DB_PASSWORD": config.audit.dbPassword,
...serviceLogEnv,
...grpcDebugEnv,
},
volumes: {
"./config": "/etc/scow",
Expand Down

0 comments on commit 9460f34

Please sign in to comment.