I run Drone (and agent) and Gitea under docker containers which are reverse proxy’d by NGINX such that I can access https://git.mydomain.com
and https://drone.mydomain.com
. My Drone environment looks like this:
environment:
- DRONE_OPEN=true
- DRONE_HOST=https://drone.mydomain.com
- DRONE_GITEA=true
- DRONE_GITEA_URL=https://git.mydomain.com
- DRONE_SECRET=mysecret
However, Drone adds the webhook to my Gitea repo as:
http://localhost:8001/hook?access_token=someaccesstoken
Anyone know why this happens / how I could fix it?
Thanks!