Skip to content

Commit 35c78b5

Browse files
committed
feat: Inherit all env variables to Cube Store (auto provisioning)
1 parent 232d117 commit 35c78b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/js-wrapper/process.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ interface StartProcessOptions extends CubeStoreHandlerOptions {
1616

1717
async function startProcess(pathToExecutable: string, config: Readonly<StartProcessOptions>) {
1818
const env: Record<string, string> = {
19+
// inherit all env variables from node
20+
...process.env,
1921
CUBESTORE_PORT: '13306', // TODO MySQL port. Remove it when it becomes optional.
2022
CUBESTORE_SELECT_WORKERS: '0',
2123
};

0 commit comments

Comments
 (0)