Files
woodpecker/docker-compose.yml
Laszlo Fogas ba8bf40f44 Merge remote-tracking branch 'origin/master' into kube
* origin/master: (75 commits)
  Bump version
  More prometheus metrics, refactoring
  Bump version
  Test Pause/Resume
  Endpoint that blocks until there are running builds
  Pause/Resume queue
  Bump version
  Latest UI
  Persist intended URL through the OAuth flow
  Bump version
  Latest UI
  Fallback to default config. Allows incremental rollout of custom-path
  Task dependencies to survive restarts
  .drone.yml takes precedence over configured path. Allows incremental rollout
  Assign multiple pending tasks in one go
  Supporting skip_clone
  Tests are deadlocking, probably sensitive to wait length
  Latest UI, pipeline path configurable
  Pipeline path configurable
  Small refactor
  ...
2019-07-01 13:10:35 +02:00

38 lines
1.0 KiB
YAML

version: '2'
services:
drone-server:
build:
context: .
dockerfile: Dockerfile
image: laszlocloud/drone-oss-08-server:local
ports:
- 8000:8000
volumes:
- /var/lib/drone:/var/lib/drone/
- /home/laszlo/.kube/config:/root/.kube/config
environment:
- DRONE_OPEN=true
- DRONE_ADMIN=laszlocph
- DRONE_HOST=${HOST}
- DRONE_GITHUB=true
- DRONE_GITHUB_CLIENT=${GITHUB_CLIENT}
- DRONE_GITHUB_SECRET=${GITHUB_SECRET}
- DRONE_SECRET=${DRONE_SECRET}
- DRONE_KUBERNETES=true
- DRONE_KUBERNETES_NAMESPACE=default
- DRONE_KUBERNETES_STORAGECLASS=example-nfs
- DRONE_KUBERNETES_VOLUME_SIZE=100Mi
- KUBECONFIG=/root/.kube/config
# drone-agent:
# build:
# context: .
# dockerfile: Dockerfile.agent
# image: laszlocloud/drone-oss-08-agent:local
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# environment:
# - DRONE_SERVER=drone-server:9000
# - DRONE_SECRET=${DRONE_SECRET}
# - DRONE_MAX_PROCS=1