|
2 | 2 |
|
3 | 3 | Drone Continuous Delivery Documentation
|
4 | 4 |
|
5 |
| -## Install from Binary |
| 5 | +## Git Service Configutation |
6 | 6 |
|
7 |
| -Separate server and agent binaries and images for [0.8.x](http://docs.drone.io/release-0.8.0) |
8 |
| - |
9 |
| -```sh |
10 |
| -# |
11 |
| -# install dependencies |
12 |
| -# |
13 |
| - |
14 |
| -go get -u github.com/drone/drone-ui/dist |
15 |
| -go get -u golang.org/x/net/context |
16 |
| -go get -u golang.org/x/net/context/ctxhttp |
17 |
| -go get -u github.com/golang/protobuf/proto |
18 |
| -go get -u github.com/golang/protobuf/protoc-gen-go |
19 |
| - |
20 |
| -# |
21 |
| -# install binaries to $GOPATH/bin |
22 |
| -# |
23 |
| - |
24 |
| -go install github.com/drone/drone/cmd/drone-agent |
25 |
| -go install github.com/drone/drone/cmd/drone-server |
26 |
| -``` |
27 |
| - |
28 |
| -## Install from Docker |
29 |
| - |
30 |
| -Please make sure that you are already install [docker-compose](https://docs.docker.com/compose/install/) tool. |
31 |
| - |
32 |
| -```yml |
33 |
| -version: '2' |
34 |
| - |
35 |
| -services: |
36 |
| - drone-server: |
37 |
| - image: drone/drone:0.8 |
38 |
| - ports: |
39 |
| - - 80:8000 |
40 |
| - - 9000:9000 |
41 |
| - volumes: |
42 |
| - - /var/lib/drone:/var/lib/drone/ |
43 |
| - restart: always |
44 |
| - environment: |
45 |
| - - DRONE_HOST=http://drone.example.com |
46 |
| - - DRONE_OPEN=true |
47 |
| - - DRONE_GITHUB=true |
48 |
| - - DRONE_GITHUB_CLIENT=${DRONE_GITHUB_CLIENT} |
49 |
| - - DRONE_GITHUB_SECRET=${DRONE_GITHUB_SECRET} |
50 |
| - - DRONE_SECRET=${DRONE_SECRET} |
51 |
| - |
52 |
| - drone-agent: |
53 |
| - image: drone/agent:0.8 |
54 |
| - restart: always |
55 |
| - depends_on: |
56 |
| - - drone-server |
57 |
| - volumes: |
58 |
| - - /var/run/docker.sock:/var/run/docker.sock |
59 |
| - environment: |
60 |
| - - DRONE_SERVER=drone-server:9000 |
61 |
| - - DRONE_SECRET=${DRONE_SECRET} |
62 |
| -``` |
63 |
| -
|
64 |
| -## Drone Installation |
65 |
| -
|
66 |
| -* [Installation with GitHub][1] |
67 |
| -* [Installation with GitLab][2] |
68 |
| -* [Installation with BitBucket][3] |
| 7 | +* [Configutation with GitHub][1] |
| 8 | +* [Configutation with GitLab][2] |
| 9 | +* [Configutation with BitBucket][3] |
69 | 10 | * [Drone on Kubernetes on AWS][4]
|
70 | 11 |
|
71 | 12 | [1]:./installation/install-with-github.md
|
|
0 commit comments