Skip to content

Instantly share code, notes, and snippets.

@ksmarty
Last active May 17, 2020 21:02

Revisions

  1. ksmarty revised this gist May 17, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion droneServer.txt
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ docker run \
    --env=DRONE_GITEA_CLIENT_SECRET= \
    --env=DRONE_RPC_SECRET= \
    --env=DRONE_SERVER_HOST= \
    --env=DRONE_SERVER_PROTO= \
    --env=DRONE_SERVER_PROTO=http \
    --publish=80:80 \
    --publish=443:443 \
    --restart=always \
  2. ksmarty created this gist May 17, 2020.
    14 changes: 14 additions & 0 deletions droneServer.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    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= \
    --publish=80:80 \
    --publish=443:443 \
    --restart=always \
    --detach=true \
    --name=drone \
    drone/drone:1