1234567891011121314151617181920212223242526272829303132 |
- version: '2'
- services:
- drone-server:
- image: drone/drone:0.7
- ports:
- - 8000:8000
- volumes:
- - /tmp/drone:/var/lib/drone/
- restart: always
- environment:
- - DRONE_OPEN=true
- - DRONE_ADMIN=yqguo
- - DRONE_HOST=127.0.0.1
- - DRONE_SECRET=yqguo
- - DRONE_GOGS=true
- - DRONE_GOGS_URL=https://git.yoqi.me
- # - DRONE_GOGS_GIT_USERNAME=yqguo
- # - DRONE_GOGS_GIT_PASSWORD=123456
- - DRONE_GOGS_PRIVATE_MODE=true
- - DRONE_GOGS_SKIP_VERIFY=false
- drone-agent:
- image: drone/drone:0.7
- command: agent
- restart: always
- depends_on:
- - drone-server
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- environment:
- - DRONE_SERVER=ws://drone-server:8000/ws/broker
- - DRONE_SECRET=yqguo
|