20 lines
665 B
YAML
20 lines
665 B
YAML
|
services:
|
||
|
woodpecker-server:
|
||
|
image: woodpeckerci/woodpecker-server:latest
|
||
|
network_mode: none
|
||
|
depends_on:
|
||
|
woodpecker-db:
|
||
|
condition: service_healthy
|
||
|
volumes:
|
||
|
- /etc/timezone:/etc/timezone:ro
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
- /opt/specht/server/data:/var/lib/woodpecker/
|
||
|
environment:
|
||
|
- WOODPECKER_OPEN=false
|
||
|
- WOODPECKER_HOST=${WOODPECKER_HOST}
|
||
|
- WOODPECKER_FORGEJO=true
|
||
|
- WOODPECKER_FORGEJO_URL=YOUR_FORGEJO_URL
|
||
|
- WOODPECKER_FORGEJO_CLIENT=YOUR_FORGEJO_CLIENT
|
||
|
- WOODPECKER_FORGEJO_SECRET=YOUR_FORGEJO_CLIENT_SECRET
|
||
|
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|