26 lines
605 B
YAML
26 lines
605 B
YAML
services:
|
|
ci-template:
|
|
build:
|
|
context: .
|
|
dockerfile: ci.Dockerfile
|
|
restart: unless-stopped
|
|
env_file:
|
|
- server.common.env
|
|
docker-template:
|
|
image: drone/drone-runner-docker
|
|
restart: unless-stopped
|
|
depends_on: []
|
|
env_file:
|
|
- runner.common.env
|
|
environment:
|
|
DRONE_RUNNER_NAME: docker-runner
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
ssh-template:
|
|
image: drone/drone-runner-ssh
|
|
restart: unless-stopped
|
|
depends_on: []
|
|
env_file:
|
|
- runner.common.env
|
|
environment:
|
|
DRONE_RUNNER_NAME: ssh-runner
|