vault backup: 2026-01-05 13:03:55
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
---
|
||||
page-title: "SSL with self signed certificate - Drone Support - Harness Community"
|
||||
url: https://community.harness.io/t/ssl-with-self-signed-certificate/11416/3
|
||||
date: "2023-03-30 17:16:40"
|
||||
---
|
||||
|
||||
> Here is my configuration for docker-compose.
|
||||
>
|
||||
> ```
|
||||
> drone-runner:
|
||||
> image: drone/agent:1
|
||||
> restart: always
|
||||
> container_name: drone-runner
|
||||
> volumes:
|
||||
> - /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro
|
||||
> - /var/run/docker.sock:/var/run/docker.sock
|
||||
> environment:
|
||||
> - DRONE_RPC_PROTO=https
|
||||
> - DRONE_RPC_HOST=xxx
|
||||
> - DRONE_RPC_SECRET=xxx
|
||||
> - DRONE_RUNNER_CAPACITY=2
|
||||
> - DRONE_RUNNER_VOLUMES=/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt
|
||||
> ```
|
||||
>
|
||||
> It mounts the ca-certificates.crt file from the host into the runner and from there into the pipeline containers.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user