forked from coopengo/coog-drone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (33 loc) · 936 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '2'
services:
drone-server:
image: drone/drone:0.8
container_name: drone-server
volumes:
- ./drone:/var/lib/drone/
environment:
- DRONE_OPEN=true
- DRONE_ORGS=coopengo
- DRONE_ADMIN=botCoopengo
- DRONE_GITHUB=true
- DRONE_GITHUB_CLIENT=${TEST_DRONE_GITHUB_CLIENT}
- DRONE_GITHUB_SECRET=${TEST_DRONE_GITHUB_SECRET}
- DRONE_GITHUB_PRIVATE_MODE=true
- DRONE_SECRET=${TEST_DRONE_SECRET}
- DRONE_HOST=http://drone.coopengo.com
- DRONE_LETS_ENCRYPT=true
- DRONE_GITHUB_MERGE_REF=false
ports:
- "80:80"
- "443:443"
restart: always
drone-agent-1:
image: drone/agent:0.8
container_name: drone-agent-1
depends_on: [drone-server]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=${TEST_DRONE_SECRET}
restart: always