mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
bfc4aa8059
* format .drone.yml & go code * improve .editorconfig * extend Makefile * enforce go code format * fix space * update deps * clean up
31 lines
No EOL
783 B
YAML
31 lines
No EOL
783 B
YAML
version: '2'
|
|
|
|
services:
|
|
drone-server:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: woodpeckerci/woodpecker-server:local
|
|
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
|
|
image: woodpeckerci/woodpecker-agent:local
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- DRONE_SERVER=drone-server:9000
|
|
- DRONE_SECRET=${DRONE_SECRET}
|
|
- DRONE_MAX_PROCS=2 |