File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ MANAGED_WORKER_SECRET=managed-secret
77# Point this at the webapp in prod
88TRIGGER_API_URL = http://localhost:3030
99
10- # Point this at the OTel collector in prod
10+ # Point this at the webapp or an OTel collector in prod
1111OTEL_EXPORTER_OTLP_ENDPOINT = http://localhost:3030/otel
1212# Use this on macOS
1313# OTEL_EXPORTER_OTLP_ENDPOINT=http://host.docker.internal:3030/otel
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ const Env = z.object({
4444
4545 // Used by the workload manager, e.g docker/k8s
4646 DOCKER_NETWORK : z . string ( ) . default ( "host" ) ,
47- DOCKER_SOCKET_PATH : z . string ( ) . default ( "/var/run/docker.sock" ) ,
4847 OTEL_EXPORTER_OTLP_ENDPOINT : z . string ( ) . url ( ) ,
4948 ENFORCE_MACHINE_PRESETS : z . coerce . boolean ( ) . default ( false ) ,
5049 KUBERNETES_IMAGE_PULL_SECRETS : z . string ( ) . optional ( ) , // csv
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ export class DockerWorkloadManager implements WorkloadManager {
1313 private readonly docker : Docker ;
1414
1515 constructor ( private opts : WorkloadManagerOptions ) {
16- this . docker = new Docker ( {
17- socketPath : env . DOCKER_SOCKET_PATH ,
18- } ) ;
16+ this . docker = new Docker ( ) ;
1917
2018 if ( opts . workloadApiDomain ) {
2119 this . logger . warn ( "⚠️ Custom workload API domain" , {
You can’t perform that action at this time.
0 commit comments