Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TRI-1794] Digital Ocean self-hosting docs #809

Open
matt-aitken opened this issue Dec 22, 2023 · 1 comment
Open

[TRI-1794] Digital Ocean self-hosting docs #809

matt-aitken opened this issue Dec 22, 2023 · 1 comment

Comments

@matt-aitken
Copy link
Member

matt-aitken commented Dec 22, 2023

A customer kindly provided this information when they got Trigger.dev working on Digital Ocean:

Everything is the exact same as fly except for needing to have your own dockerhub image (perhaps fixed in the future) and needing to set NODE_TLS_REJECT_UNAUTHORIZED='0'. Without that env var, you get the following error from graphile:

[2023-12-22 10:08:56] Error: self-signed certificate in certificate chain
[2023-12-22 10:08:56]     at TLSSocket.onConnectSecure (node:_tls_wrap:1600:34)
[2023-12-22 10:08:56]     at TLSSocket.emit (node:events:517:28)
[2023-12-22 10:08:56]     at TLSSocket._finishInit (node:_tls_wrap:1017:8)
[2023-12-22 10:08:56]     at ssl.onhandshakedone (node:_tls_wrap:803:12) {
[2023-12-22 10:08:56]   code: 'SELF_SIGNED_CERT_IN_CHAIN'
[2023-12-22 10:08:56] }

TRI-1794

@matt-aitken matt-aitken changed the title Digital Ocean self-hosting docs [TRI-1794] Digital Ocean self-hosting docs Dec 22, 2023
@gautamsi
Copy link
Contributor

gautamsi commented Jul 9, 2024

I have same question for v3 projects, I am trying to host it locally with a self signed cert chain (local issuer for hardened security)

How do I add this to my tasks so that they trust my cert in fetch. Presumably they are going to be built into a container, can i add a step to add a custom cert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants