GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — feat: Allow injecting ca cert in project · Issue #1210 · triggerdotdev/trigger.dev Closed DescriptionIs your feature request related to a problem? Please describe.I was playing with the self-hosted deployment in an isolated environment with a private registry. Found out that it fails to even build due to private certification authority. Build works without problem but can not be run as the entrypoint tries to connect to self hosted trigger.dev api which is secured by self signed/private cert chain. Allowing to inject private root cert which will allow securely interacting with the internal services would be helpful. Describe the solution you'd like to seeA config option to include a ca file which would then be added to Describe alternate solutionsAllow replacing Additional informationFor others who want to be able to do this in current scenario (tested beta-48), do this
ENV TRIGGER_PROJECT_ID=${TRIGGER_PROJECT_ID} \ # ... .... NODE_ENV=production \ NODE_EXTRA_CA_CERTS=/app/lib/ca.crt # this line
function gatherProcessEnv() { const env = { NODE_ENV: process.env.NODE_ENV ?? "production", // ... other config NODE_EXTRA_CA_CERTS: process.env.NODE_EXTRA_CA_CERTS, //// THIS LINE }; return Object.fromEntries(Object.entries(env).filter(([key, value]) => value !== void 0)); } step 3 and 4 needs to be done inside I can definitely create a pull request over next few days which should fix this if acceptable. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |