Add a .env file like this:

DRONE_GITEA_CLIENT_ID=...
DRONE_GITEA_CLIENT_SECRET=...
DRONE_RPC_SECRET=...

See also: https://docs.drone.io/server/provider/gitea/.