This environment is dependent off a common network for docker/git plugin and gitea-server, so for this work fine in closed networks we have to create a custom network before run this composefile.
First create your network:
docker network create gitea-network
Now you have to setup this network as a environment variable:
export DEFAULT_NETWORK=gitea-network
Fine, we finally can ran our services:
docker-compose up
Now you can see your gitea server at port 8380
and your drone server ate 8381
.