networks: 1panel-network: external: true services: woodpecker-agent: image: woodpeckerci/woodpecker-agent:v3.15.0 container_name: ${CONTAINER_NAME} command: agent restart: always networks: - 1panel-network env_file: - ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env} - ${ENV_FILE:-/etc/1panel/envs/default.env} volumes: - /var/run/docker.sock:/var/run/docker.sock - ${WOODPECKER_ROOT_PATH}/agent:/etc/woodpecker 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