Skip to content

Instantly share code, notes, and snippets.

@mykiwi
Created September 15, 2016 09:44
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 mykiwi/0b67d1c05d32995d6699f4669f2791c3 to your computer and use it in GitHub Desktop.
Save mykiwi/0b67d1c05d32995d6699f4669f2791c3 to your computer and use it in GitHub Desktop.
Drone.io 0.5
drone:
image: drone/drone:0.5
restart: always
net: ci
container_name: drone
environment:
DRONE_GITHUB: "true"
DRONE_GITHUB_CLIENT: "XXX"
DRONE_GITHUB_SECRET: "XXX"
DRONE_SECRET: "XXX"
DRONE_ADMIN: "romqin"
DRONE_OPEN: "true"
DRONE_ORGS: "XXX"
DRONE_DEBUG: "true"
volumes:
- ./data:/var/lib/drone
ports:
- "80:8000"
agent:
image: drone/drone:0.5
restart: always
net: ci
container_name: drone-agent
command: agent
environment:
DRONE_SERVER: "http://drone"
DRONE_TOKEN: "XXX generated by drone"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment