Files
my-vault/04_Archive/Inbox-Clippings/2023/03/SSL with self signed certificate - Drone Support - Harness Community.md
T

882 B

page-title, url, date
page-title url date
SSL with self signed certificate - Drone Support - Harness Community https://community.harness.io/t/ssl-with-self-signed-certificate/11416/3 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.