Drone: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
docker run -it --rm \ | docker run -it --rm \ | ||
--env=DRONE_AGENTS_ENABLED=true \ | --env=DRONE_AGENTS_ENABLED=true \ | ||
--env=DRONE_GITLAB_SERVER=https:// | --env=DRONE_GITLAB_SERVER=https://academia.chorke.org/gitlab \ | ||
--env=DRONE_GITLAB_CLIENT_ID=${DRONE_GITLAB_CLIENT_ID:-c955d25b77a4fef47fb87cea0b2aba99} \ | --env=DRONE_GITLAB_CLIENT_ID=${DRONE_GITLAB_CLIENT_ID:-c955d25b77a4fef47fb87cea0b2aba99} \ | ||
--env=DRONE_GITLAB_CLIENT_SECRET=${DRONE_GITLAB_CLIENT_SECRET:-ae74931239cc242bdddb063d2c4e1003} \ | --env=DRONE_GITLAB_CLIENT_SECRET=${DRONE_GITLAB_CLIENT_SECRET:-ae74931239cc242bdddb063d2c4e1003} \ | ||
Line 29: | Line 29: | ||
drone/drone:latest | drone/drone:latest | ||
docker exec -it drone id | |||
</source> | </source> | ||
Revision as of 11:35, 6 April 2023
Linux: export DRONE_HOME=/srv/drone |
MacOS: export DRONE_HOME=$HOME/drone |
Local location | Container location | Usage |
---|---|---|
$DRONE_HOME/data |
/data |
Application data |
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
mkdir -p $DRONE_HOME/{data}
#chown -R 0:0 $DRONE_HOME/
Knowledge
sudo ss -tulwn | grep LISTEN sudo ss -tulpn | grep LISTEN sudo ss -tulpn | grep LISTEN | grep sshd sudo ss -tulpn | grep LISTEN | grep minio sudo ss -tulpn | grep LISTEN | grep resolve |
sudo lsof -i -P -n | grep LISTEN |
|
| ||
References
| ||