2023-10-20 17:32:45 +02:00
|
|
|
version: '2.2'
|
|
|
|
services:
|
|
|
|
woodpecker:
|
|
|
|
image: woodpeckerci/woodpecker-server:latest
|
2023-10-30 02:07:02 +01:00
|
|
|
dns: 9.9.9.9
|
2023-10-20 17:32:45 +02:00
|
|
|
env_file:
|
|
|
|
- /etc/ixvd/secrets/env/woodpecker/server.env
|
|
|
|
- /etc/ixvd/secrets/env/woodpecker/agent.env
|
|
|
|
environment:
|
|
|
|
WOODPECKER_OPEN: 'true'
|
|
|
|
WOODPECKER_HOST: https://ci.ixvd.net
|
|
|
|
WOODPECKER_ADMIN: raine
|
|
|
|
WOODPECKER_GITEA: 'true'
|
|
|
|
WOODPECKER_GITEA_URL: https://git.ixvd.net
|
|
|
|
volumes:
|
|
|
|
- /srv/woodpecker/data:/var/lib/woodpecker
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
- internal
|
|
|
|
|
|
|
|
woodpecker-agent:
|
|
|
|
image: woodpeckerci/woodpecker-agent
|
|
|
|
command: agent
|
|
|
|
depends_on:
|
|
|
|
- woodpecker
|
|
|
|
env_file:
|
|
|
|
- /etc/ixvd/secrets/env/woodpecker/agent.env
|
|
|
|
environment:
|
2023-10-30 02:07:02 +01:00
|
|
|
WOODPECKER_SERVER: woodpecker:9000
|
2023-10-20 17:32:45 +02:00
|
|
|
WOODPECKER_MAX_WORKFLOWS: 10
|
|
|
|
volumes:
|
|
|
|
- /srv/woodpecker/other/runner:/etc/woodpecker
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
networks:
|
|
|
|
- internal
|