docker run -it --rm \
--env=DRONE_AGENTS_ENABLED=true \
--env=DRONE_GITLAB_SERVER=https://academia.chorke.org/gitlab \
--env=DRONE_GITLAB_CLIENT_ID=${DRONE_GITLAB_CLIENT_ID:-c955d25b77a4fef47fb87cea0b2aba99} \
--env=DRONE_GITLAB_CLIENT_SECRET=${DRONE_GITLAB_CLIENT_SECRET:-ae74931239cc242bdddb063d2c4e1003} \
--env=DRONE_RPC_SECRET=58af6e764c227641e80ba91c4692bdd6 \
--env=DRONE_SERVER_HOST=10.19.83.10 \
--env=DRONE_SERVER_PROTO=http \
--name=drone \
--detach=true \
--publish=80:80 \
--publish=443:443 \
drone/drone:latest
docker exec -it drone id
docker stop drone
docker run -it --rm \
--env=DRONE_RPC_PROTO=http \
--env=DRONE_RUNNER_CAPACITY=2 \
--env=DRONE_RPC_HOST=10.19.83.10 \
--env=DRONE_RUNNER_NAME=drone-runner \
--env=DRONE_RPC_SECRET=58af6e764c227641e80ba91c4692bdd6 \
--volume=/var/run/docker.sock:/var/run/docker.sock \
--detach=true \
--publish=3000:3000 \
--name=drone-runner \
drone/drone-runner-docker:latest
docker exec -it drone-runner id
docker stop drone-runner
mkdir -p $DRONE_HOME/{data}
#chown -R 0:0 $DRONE_HOME/
docker run \
--volume ${DRONE_HOME}/data:/data \
--env=DRONE_AGENTS_ENABLED=true \
--env=DRONE_GITLAB_SERVER=https://academia.chorke.org/gitlab \
--env=DRONE_GITLAB_CLIENT_ID=${DRONE_GITLAB_CLIENT_ID:-c955d25b77a4fef47fb87cea0b2aba99} \
--env=DRONE_GITLAB_CLIENT_SECRET=${DRONE_GITLAB_CLIENT_SECRET:-ae74931239cc242bdddb063d2c4e1003} \
--env=DRONE_RPC_SECRET=58af6e764c227641e80ba91c4692bdd6 \
--env=DRONE_SERVER_HOST=10.19.83.10 \
--env=DRONE_SERVER_PROTO=http \
--name=drone \
--detach=true \
--publish=80:80 \
--publish=443:443 \
--restart=always \
drone/drone:latest
docker run \
--volume ${DRONE_HOME}/data:/data:Z \
--env=DRONE_AGENTS_ENABLED=true \
--env=DRONE_GITLAB_SERVER=https://academia.chorke.org/gitlab \
--env=DRONE_GITLAB_CLIENT_ID=${DRONE_GITLAB_CLIENT_ID:-c955d25b77a4fef47fb87cea0b2aba99} \
--env=DRONE_GITLAB_CLIENT_SECRET=${DRONE_GITLAB_CLIENT_SECRET:-ae74931239cc242bdddb063d2c4e1003} \
--env=DRONE_RPC_SECRET=58af6e764c227641e80ba91c4692bdd6 \
--env=DRONE_SERVER_HOST=10.19.83.10 \
--env=DRONE_SERVER_PROTO=http \
--name=drone \
--detach=true \
--publish=80:80 \
--publish=443:443 \
--restart=always \
drone/drone:latest
docker run \
--detach=true \
--restart=always \
--publish=3000:3000 \
--name=drone-runner \
--env=DRONE_RPC_PROTO=http \
--env=DRONE_RUNNER_CAPACITY=2 \
--env=DRONE_RPC_HOST=10.19.83.10 \
--env=DRONE_RUNNER_NAME=drone-runner \
--env=DRONE_RPC_SECRET=58af6e764c227641e80ba91c4692bdd6 \
--volume=/var/run/docker.sock:/var/run/docker.sock \
drone/drone-runner-docker:latest
docker run \
--detach=true \
--restart=always \
--publish=3000:3000 \
--name=drone-runner \
--env=DRONE_RPC_PROTO=http \
--env=DRONE_RUNNER_CAPACITY=2 \
--env=DRONE_RPC_HOST=10.19.83.10 \
--env=DRONE_RUNNER_NAME=drone-runner \
--env=DRONE_RPC_SECRET=58af6e764c227641e80ba91c4692bdd6 \
--volume=/var/run/docker.sock:/var/run/docker.sock:Z \
drone/drone-runner-docker:latest