Skip to content

Instantly share code, notes, and snippets.

@ntr-808
Created March 28, 2018 07:58
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 ntr-808/c049eb37d322f80a3d560629ed97048a to your computer and use it in GitHub Desktop.
Save ntr-808/c049eb37d322f80a3d560629ed97048a to your computer and use it in GitHub Desktop.
drone-setup
version: '3.3'
services:
drone-server:
image: drone/drone:0.8
ports:
- 8000:8000
- 9000
volumes:
- /var/lib/drone:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=true
- DRONE_HOST=https://drone.our.site
- DRONE_ORGS=stakedotcom
- DRONE_ADMIN=one,two
- DRONE_GITHUB=true
- DRONE_GITHUB_CLIENT=snap
- DRONE_GITHUB_SECRET=snip
- DRONE_SECRET=grep
drone-agent:
image: drone/agent:0.8
networks:
- default
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=grep
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- drone-server
HTTP/1.1 303 See Other
Server: nginx/1.12.2
Date: Wed, 28 Mar 2018 07:51:11 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 248
Connection: keep-alive
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store, max-age=0, must-revalidate, value
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Last-Modified: Wed, 28 Mar 2018 07:51:11 GMT
Location: https://github.com/login/oauth/authorize?client_id=snip&redirect_uri=http%3A%2F%2Fdrone.our.site%2Fauthorize&response_type=code&scope=repo+repo%3Astatus+user%3Aemail+read%3Aorg&state=drone
X-Content-Type-Options: nosniff
X-Drone-Version: 0.8.4+build.1398
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
<a href="https://github.com/login/oauth/authorize?client_id=snip&amp;redirect_uri=http%3A%2F%2Fdrone.our.site%2Fauthorize&amp;response_type=code&amp;scope=repo+repo%3Astatus+user%3Aemail+read%3Aorg&amp;state=drone">See Other</a>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment