Skip to content

Commit

Permalink
Load cluster environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jul 10, 2024
1 parent 5b2acd7 commit b2e2159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const schema = z.object({
.default("dev"),
CODERUNNER_FUNCTION: z.string().default("CodeRunnerFunction"),
CODERUNNER_CONTAINER_URL: z.string().url().optional(),
CLUSTER_URL: z.string().url().optional(),
CLUSTER_SECRET_ID: z.string().optional(),
});

module.exports.env = schema.parse(process.env);

0 comments on commit b2e2159

Please sign in to comment.