1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/docker-compose.yml

31 lines
781 B
YAML
Raw Normal View History

2019-05-30 11:11:27 +02:00
version: '2'
services:
drone-server:
build:
context: .
dockerfile: Dockerfile
2019-08-27 13:01:29 +02:00
image: laszlocloud/woodpecker-server:local
2019-05-30 11:11:27 +02:00
ports:
- 8000:8000
volumes:
- /var/lib/drone:/var/lib/drone/
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-agent:
build:
context: .
dockerfile: Dockerfile.agent
2019-08-27 13:01:29 +02:00
image: laszlocloud/woodpecker-agent:local
2019-05-30 11:11:27 +02:00
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=${DRONE_SECRET}
2019-06-05 15:58:27 +02:00
- DRONE_MAX_PROCS=2