Hey guys,
i wanted to run drone alongside my Gitea. But when I start the drone container it just seems to keep restarting. Gitea isn’t running as a container.
I start the drone container with the following script:
export DRONE_GITEA_SERVER=http://127.0.0.1:3000
export DRONE_SERVER_HOST=[my domain]
export DRONE_SERVER_PROTO=https
sudo docker run \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--volume=/var/lib/drone:/data \
--env=DRONE_GITEA_SERVER=${DRONE_GITEA_SERVER} \
--env=DRONE_GIT_ALWAYS_AUTH=false \
--env=DRONE_RUNNER_CAPACITY=2 \
--env=DRONE_SERVER_HOST=${DRONE_SERVER_HOST} \
--env=DRONE_SERVER_PROTO=${DRONE_SERVER_PROTO} \
--env=DRONE_TLS_AUTOCERT=false \
--publish=3001:80 \
--restart=always \
--detach=true \
--name=drone \
drone/drone
Trying to connect with a nginx reverse proxy or curl 127.0.0.1:3001 gives me either connection refused or connection reset by peer. I can’t find logs for drone anywhere either.