2021-08-17 19:16:03 +00:00
|
|
|
version: '3'
|
2019-05-30 09:11:27 +00:00
|
|
|
|
|
|
|
services:
|
2021-08-17 19:16:03 +00:00
|
|
|
woodpecker-server:
|
2019-05-30 09:11:27 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2021-06-18 18:48:22 +00:00
|
|
|
image: woodpeckerci/woodpecker-server:local
|
2019-05-30 09:11:27 +00:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
volumes:
|
|
|
|
- /var/lib/drone:/var/lib/drone/
|
|
|
|
environment:
|
2021-08-17 19:16:03 +00:00
|
|
|
- WOODPECKER_OPEN=true
|
|
|
|
- WOODPECKER_ADMIN=laszlocph
|
|
|
|
- WOODPECKER_HOST=${HOST}
|
|
|
|
- WOODPECKER_GITHUB=true
|
|
|
|
- WOODPECKER_GITHUB_CLIENT=${GITHUB_CLIENT}
|
|
|
|
- WOODPECKER_GITHUB_SECRET=${GITHUB_SECRET}
|
|
|
|
- WOODPECKER_SECRET=${WOODPECKER_SECRET}
|
|
|
|
woodpecker-agent:
|
2019-05-30 09:11:27 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.agent
|
2021-06-18 18:48:22 +00:00
|
|
|
image: woodpeckerci/woodpecker-agent:local
|
2019-05-30 09:11:27 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
environment:
|
2021-08-17 19:16:03 +00:00
|
|
|
- WOODPECKER_SERVER=woodpecker-server:9000
|
|
|
|
- WOODPECKER_SECRET=${WOODPECKER_SECRET}
|
|
|
|
- WOODPECKER_MAX_PROCS=2
|