woodpecker

This commit is contained in:
sneakers-the-rat 2022-10-24 23:00:00 -07:00
commit cee271bc77
2 changed files with 42 additions and 0 deletions

7
README.md Normal file
View file

@ -0,0 +1,7 @@
# Configs
- [Woodpecker](https://woodpecker-ci.org/): `docker-compose/woodpecker.yml`
# Usage
- Instead of copy and pasting stuff, link it!

View file

@ -0,0 +1,35 @@
version: '3'
services:
woodpecker-server:
image: woodpeckerci/woodpecker-server:latest
ports:
- 8000:8000
- 80:80
- 443:443
volumes:
- woodpecker-server-data:/var/lib/woodpecker/
environment:
- WOODPECKER_OPEN=true
- WOODPECKER_HOST=${WOODPECKER_HOST}
- WOODPECKER_GITEA=true
- 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_LETS_ENCRYPT=true
woodpecker-agent:
image: woodpeckerci/woodpecker-agent:latest
command: agent
restart: always
depends_on:
- woodpecker-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WOODPECKER_SERVER=woodpecker-server:9000
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
volumes:
woodpecker-server-data: