WindmillWWindmill
Powered by
PankajMahatoP
Windmill•7mo ago•
2 replies
PankajMahato

[Typescript BUN]: Getting SSL certificate error even though I have added the CA as volume mount.

Logged into the container and saw that the certificate is getting added to the truststore and when running curl commands it is working.
But when executing the script from Windmill it is failing.

Below is the docker-compose.yml
windmill_worker:
image: ${WM_IMAGE}
pull_policy: always
deploy:
replicas: 3
resources:
limits:
cpus: "1"
memory: 2048M
# for GB, use syntax '2Gi'
restart: unless-stopped
environment:
- DATABASE_URL=${DATABASE_URL}
- MODE=worker
- WORKER_GROUP=default
- INIT_SCRIPT=update-ca-certificates
- DENO_TLS_CA_STORE=system,mozilla
- DENO_CERT=/usr/local/share/ca-certificates/api-cerebro-prod-cernerasp-com.crt
depends_on:
db:
condition: service_healthy
# to mount the worker folder to debug, KEEP_JOB_DIR=true and mount /tmp/windmill
volumes:
# mount the docker socket to allow to run docker containers from within the workers
- /var/run/docker.sock:/var/run/docker.sock
- worker_dependency_cache:/tmp/windmill/cache
- worker_logs:/tmp/windmill/logs
- /var/windmill/compose/certs:/usr/local/share/ca-certificates:ro
logging: *default-logging
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

UNKNOWN_CERTIFICATE_VERIFICATION_ERROR
PankajMahatoPPankajMahato / help
4mo ago
Windmill Workflows Code as Docker Volume
HishamHHisham / help
2y ago
[Typescript BUN]: Listing all objects within S3 Bucket
ChesongCChesong / help
7mo ago
Adding internal root CA to server mode as well
sleshwaveSsleshwave / help
2y ago