add drone/woodpecker services

This commit is contained in:
Adrian Kuschelyagi Malacoda 2020-12-20 20:18:20 -06:00
parent 26ad8d8232
commit ef2564ed53

View File

@ -14,6 +14,7 @@
# 8013: peertube
# 8014: parsoid
# 8015: prometheus
# 8016: woodpecker
version: '2.4'
services:
@ -148,6 +149,39 @@ services:
- ./gitea:/data
- /home/git/.ssh:/data/git/.ssh
# CI server
woodpecker-server:
image: laszlocloud/woodpecker-server:latest
ports:
- 8016:8000
- 9000
volumes:
- ./woodpecker:/var/lib/drone/
restart: on-failure
environment:
- DRONE_OPEN=true
- DRONE_HOST=https://ci.monarch-pass.net
- DRONE_GITEA=true
- DRONE_ADMIN=malacoda
- DRONE_GITEA_URL=https://forge.monarch-pass.net
- DRONE_GITEA_GIT_USERNAME=Woodpecker
- DRONE_GITEA_GIT_PASSWORD=${DRONE_GITEA_GIT_PASSWORD}
- DRONE_GITEA_PRIVATE_MODE=true
- DRONE_SECRET=${DRONE_SECRET}
# CI agent
woodpecker-agent:
image: laszlocloud/woodpecker-agent:latest
command: agent
restart: on-failure
depends_on:
- woodpecker-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=woodpecker-server:9000
- DRONE_SECRET=${DRONE_SECRET}
# glitchcity.info
glitchcity:
links: