neb/servers/apoc/docker-compose.d/docker-compose.woodpecker.yml
2023-10-20 17:32:45 +02:00

34 lines
946 B
YAML

version: '2.2'
services:
woodpecker:
image: woodpeckerci/woodpecker-server:latest
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:
WOODPECKER_SERVER: woodpecker-server:9000
WOODPECKER_MAX_WORKFLOWS: 10
volumes:
- /srv/woodpecker/other/runner:/etc/woodpecker
- /var/run/docker.sock:/var/run/docker.sock
networks:
- internal