Improve woodpecker agents url
This commit is contained in:
parent
84250fd2a8
commit
a03b11e28c
3 changed files with 11 additions and 5 deletions
|
@ -2,3 +2,8 @@ ci.serguzim.me {
|
|||
import default
|
||||
reverse_proxy woodpecker:8000
|
||||
}
|
||||
|
||||
agents.ci.serguzim.me {
|
||||
import default
|
||||
reverse_proxy h2c://woodpecker:9000
|
||||
}
|
||||
|
|
|
@ -4,6 +4,9 @@ WOODPECKER_ADMIN="serguzim"
|
|||
WOODPECKER_AGENT_SECRET=
|
||||
WOODPECKER_PROMETHEUS_AUTH_TOKEN=
|
||||
|
||||
WOODPECKER_SERVER="agents.ci.serguzim.me:443"
|
||||
WOODPECKER_GRPC_SECURE="true"
|
||||
|
||||
WOODPECKER_GITEA="true"
|
||||
WOODPECKER_GITEA_URL="https://git.serguzim.me"
|
||||
WOODPECKER_GITEA_CLIENT=
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
woodpecker-server:
|
||||
server:
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
restart: always
|
||||
labels:
|
||||
|
@ -15,7 +15,7 @@ services:
|
|||
aliases:
|
||||
- woodpecker
|
||||
|
||||
woodpecker-agent:
|
||||
agent:
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
restart: always
|
||||
labels:
|
||||
|
@ -25,11 +25,9 @@ services:
|
|||
- .env
|
||||
- .secret.env
|
||||
depends_on:
|
||||
- woodpecker-server
|
||||
- server
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
WOODPECKER_SERVER: "woodpecker-server:9000"
|
||||
networks:
|
||||
local-net:
|
||||
|
||||
|
|
Reference in a new issue