mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
22 lines
630 B
YAML
22 lines
630 B
YAML
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
|