Created
November 11, 2017 14:39
-
-
Save appleboy/75b46f6057b8acd6a052bf8eb1ce2886 to your computer and use it in GitHub Desktop.
Drone with bitbucket config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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