volumes:
  agent:
    driver: local

services:
  agent:
    image: woodpeckerci/woodpecker-agent:latest
    container_name: woodpecker_agent
    environment:
      - WOODPECKER_SERVER=grpc.build.net.enpls.org:443
      - WOODPECKER_MAX_WORKFLOWS=4
      - WOODPECKER_GRPC_SECURE=true
      - WOODPECKER_GRPC_VERIFY=true
    env_file:
      - .env
    restart: always
    volumes:
      - agent:/etc/woodpecker
      - /var/run/docker.sock:/var/run/docker.sock