Skip to content

Instantly share code, notes, and snippets.

@jerson
Created May 14, 2017 16:31
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 jerson/4bb4b54b3d2a105286ad7775c8e38967 to your computer and use it in GitHub Desktop.
Save jerson/4bb4b54b3d2a105286ad7775c8e38967 to your computer and use it in GitHub Desktop.
version: '3'
services:
drone-server:
image: drone/drone
ports:
- 80:8000
volumes:
- ./drone:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=true
- DRONE_HOST=http://drone.setbeat.com
- DRONE_GITLAB=true
- DRONE_GITLAB_CLIENT=CLIENTTT
- DRONE_GITLAB_SECRET=SECRETTT
- DRONE_GITLAB_URL=https://gitlab.com
- DRONE_SECRET=aaaa
- DRONE_DEBUG=true
- DRONE_ADMIN=myuser
drone-agent:
image: drone/drone
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=aaaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment