Add woodpecker
This commit is contained in:
parent
243b4347da
commit
81c0797bd8
2 changed files with 38 additions and 0 deletions
13
woodpecker/.env
Normal file
13
woodpecker/.env
Normal file
|
@ -0,0 +1,13 @@
|
|||
WOODPECKER_OPEN="true"
|
||||
WOODPECKER_HOST="https://ci.serguzim.me"
|
||||
WOODPECKER_ADMIN="serguzim"
|
||||
WOODPECKER_AGENT_SECRET=
|
||||
WOODPECKER_PROMETHEUS_AUTH_TOKEN=
|
||||
|
||||
WOODPECKER_GITEA="true"
|
||||
WOODPECKER_GITEA_URL="https://git.serguzim.me"
|
||||
WOODPECKER_GITEA_CLIENT=
|
||||
WOODPECKER_GITEA_SECRET=
|
||||
|
||||
WOODPECKER_DATABASE_DRIVER="postgres"
|
||||
WOODPECKER_DATABASE_DATASOURCE="postgres://woodpecker:xxxxxx@db.serguzim.me:5432/woodpecker?sslmode=verify-full"
|
25
woodpecker/docker-compose.yml
Normal file
25
woodpecker/docker-compose.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
- .secret.env
|
||||
ports:
|
||||
- 3500:8000
|
||||
|
||||
woodpecker-agent:
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
command: agent
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
- .secret.env
|
||||
depends_on:
|
||||
- woodpecker-server
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
WOODPECKER_SERVER: "woodpecker-server:9000"
|
Reference in a new issue