Hi I’m trying to get global webhook to work but every time I try I get
error="Post \"https://**.local/webhook-drone\": x509: certificate signed by unknown authority" name=** namespace=** request-id=26YujCPMiyNOSVBQWw724RlDwVj user.admin=true user.login=**
I have tried setting DRONE_WEBHOOK_SKIP_VERIFY=true
But it doesn’t seem to work, this is my docker-composer:
version: "3"
services:
server:
image: drone/drone:2
container_name: Drone
environment:
- DRONE_GITEA_CLIENT_ID=**
- DRONE_GITEA_CLIENT_SECRET=**
- DRONE_GITEA_SERVER=https://**.local
- DRONE_GIT_ALWAYS_AUTH=true
- DRONE_GITEA_SKIP_VERIFY=true
- DRONE_RPC_SECRET=**
- DRONE_SERVER_HOST=**.local
- DRONE_SERVER_PROTO=https
- DRONE_LOGS_TEXT=true
- DRONE_LOGS_PRETTY=true
- DRONE_LOGS_COLOR=true
- DRONE_LOGS_DEBUG=true
- DRONE_DATABASE_DRIVER=postgres
- DRONE_DATABASE_DATASOURCE=**
- DRONE_WEBHOOK_ENDPOINT=https://**.local/webhook-drone
- DRONE_WEBHOOK_SECRET=**
- DRONE_WEBHOOK_SKIP_VERIFY=true
restart: always
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "6080:80"
- "6443:443"
It looks like a bug as the environment variable is completely ignored