version: '3'
services:
woodpecker-server:
image: woodpeckerci/woodpecker-server:latest
restart: always
labels:
com.centurylinklabs.watchtower.enable: true
env_file:
- .env
- .secret.env
networks:
local-net:
aliases:
- woodpecker
woodpecker-agent:
image: woodpeckerci/woodpecker-agent:latest
command: agent
depends_on:
- woodpecker-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
WOODPECKER_SERVER: "woodpecker-server:9000"
external: true