Skip to content

Instantly share code, notes, and snippets.

@appleboy
Created November 11, 2017 14:39
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 appleboy/75b46f6057b8acd6a052bf8eb1ce2886 to your computer and use it in GitHub Desktop.
Save appleboy/75b46f6057b8acd6a052bf8eb1ce2886 to your computer and use it in GitHub Desktop.
Drone with bitbucket config
version: '2'
services:
drone-server:
image: drone/drone:0.8
ports:
- 8080:8000
- 9000:9000
volumes:
- ./:/var/lib/drone/
restart: always
environment:
- DRONE_HOST=https://c65846a9.ngrok.io
- DRONE_OPEN=true
- DRONE_SECRET=drone-workshop
- DRONE_ADMIN=appleboy
# BitBucket Config
- DRONE_BITBUCKET=true
- DRONE_BITBUCKET_CLIENT=kbzUa3AjDTvu8Xbjzt
- DRONE_BITBUCKET_SECRET=KaXsFsZ2c4G2Sg2RK52w5efc72vhrznZ
drone-agent:
image: drone/agent:0.8
restart: always
depends_on:
- drone-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=drone-workshop
- DRONE_MAX_PROCS=3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment