Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ksmarty
Last active May 17, 2020 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksmarty/47dda36c580688fe207c671fe457db37 to your computer and use it in GitHub Desktop.
Save ksmarty/47dda36c580688fe207c671fe457db37 to your computer and use it in GitHub Desktop.
docker run \
--volume=/var/lib/drone:/data \
--env=DRONE_GITEA_SERVER= \
--env=DRONE_GITEA_CLIENT_ID= \
--env=DRONE_GITEA_CLIENT_SECRET= \
--env=DRONE_RPC_SECRET= \
--env=DRONE_SERVER_HOST= \
--env=DRONE_SERVER_PROTO=http \
--publish=80:80 \
--publish=443:443 \
--restart=always \
--detach=true \
--name=drone \
drone/drone:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment