Adding woodpecker
This commit is contained in:
parent
3dca3d1a6e
commit
4893ddd719
|
@ -0,0 +1,7 @@
|
||||||
|
WOODPECKER_OPEN=
|
||||||
|
WOODPECKER_HOST=
|
||||||
|
WOODPECKER_GITEA=
|
||||||
|
WOODPECKER_GITEA_URL=
|
||||||
|
WOODPECKER_GITEA_CLIENT=
|
||||||
|
WOODPECKER_GITEA_SECRET=
|
||||||
|
WOODPECKER_AGENT_SECRET=
|
|
@ -0,0 +1,28 @@
|
||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
woodpecker-server:
|
||||||
|
image: woodpeckerci/woodpecker-server:latest-alpine
|
||||||
|
container_name: woodpecker-server
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/volumes/woodpecker-server-data:/var/lib/woodpecker/
|
||||||
|
environment:
|
||||||
|
- WOODPECKER_OPEN=${WOODPECKER_OPEN}
|
||||||
|
- WOODPECKER_HOST=${WOODPECKER_HOST}
|
||||||
|
- WOODPECKER_GITEA=${WOODPECKER_GITEA}
|
||||||
|
- WOODPECKER_GITEA_URL=${WOODPECKER_GITEA_URL}
|
||||||
|
- WOODPECKER_GITEA_CLIENT=${WOODPECKER_GITEA_CLIENT}
|
||||||
|
- WOODPECKER_GITEA_SECRET=${WOODPECKER_GITEA_SECRET}
|
||||||
|
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||||
|
woodpecker-agent:
|
||||||
|
image: woodpeckerci/woodpecker-agent:latest-alpine
|
||||||
|
command: agent
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- woodpecker-server
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
- WOODPECKER_SERVER=woodpecker-server:8000
|
||||||
|
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
|
Loading…
Reference in New Issue