Files

21 lines
547 B
YAML

networks:
1panel-network:
external: true
services:
woodpecker-agent:
command: agent
container_name: woodpecker-agent
env_file:
- ./envs/global.env
- .env
environment:
- HTTPS_PROXY=${HTTP_PROXY}
- NO_PROXY=127.0.0.1,localhost,.local,woodpecker-agent,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
image: woodpeckerci/woodpecker-agent:v3.15.0
networks:
- 1panel-network
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${WOODPECKER_ROOT_PATH}/agent:/etc/woodpecker