Advertisement
Guest User

docker-compose.yaml

a guest
Mar 28th, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.65 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4.   drone-server:
  5.     image: nyxcode/drone
  6.  
  7.     ports:
  8.      - 8000:8000
  9.       - 9000
  10.     volumes:
  11.      - /var/lib/drone:/var/lib/drone/
  12.     restart: always
  13.     environment:
  14.      - DRONE_OPEN=true
  15.       - DRONE_HOST=https://build.nyxcode.com
  16.       - DRONE_GITEA=true
  17.       - DRONE_GITEA_URL=https://git.nyxcode.com
  18.       - DRONE_SECRET=xxx
  19.  
  20.   drone-agent:
  21.     image: drone/agent:linux-arm
  22.  
  23.     command: agent
  24.     restart: always
  25.     depends_on:
  26.      - drone-server
  27.     volumes:
  28.      - /var/run/docker.sock:/var/run/docker.sock
  29.     environment:
  30.      - DRONE_SERVER=drone-server:9000
  31.       - DRONE_SECRET=xxx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement