20 lines
467 B
YAML
20 lines
467 B
YAML
include:
|
|
- dind.yaml
|
|
|
|
services:
|
|
cli:
|
|
image: docker.io/woodpeckerci/woodpecker-cli:latest
|
|
command: exec
|
|
restart: never
|
|
working_dir: /wooposex
|
|
depends_on:
|
|
dind:
|
|
condition: service_started
|
|
network_mode: none
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- docker-run:/var/run/dind
|
|
- .:/wooposex:ro
|
|
environment:
|
|
DOCKER_HOST: 'unix:///var/run/dind/docker.sock'
|