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
|
import default
|
||||||
reverse_proxy woodpecker:8000
|
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_AGENT_SECRET=
|
||||||
WOODPECKER_PROMETHEUS_AUTH_TOKEN=
|
WOODPECKER_PROMETHEUS_AUTH_TOKEN=
|
||||||
|
|
||||||
|
WOODPECKER_SERVER="agents.ci.serguzim.me:443"
|
||||||
|
WOODPECKER_GRPC_SECURE="true"
|
||||||
|
|
||||||
WOODPECKER_GITEA="true"
|
WOODPECKER_GITEA="true"
|
||||||
WOODPECKER_GITEA_URL="https://git.serguzim.me"
|
WOODPECKER_GITEA_URL="https://git.serguzim.me"
|
||||||
WOODPECKER_GITEA_CLIENT=
|
WOODPECKER_GITEA_CLIENT=
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
woodpecker-server:
|
server:
|
||||||
image: woodpeckerci/woodpecker-server:latest
|
image: woodpeckerci/woodpecker-server:latest
|
||||||
restart: always
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
|
@ -15,7 +15,7 @@ services:
|
||||||
aliases:
|
aliases:
|
||||||
- woodpecker
|
- woodpecker
|
||||||
|
|
||||||
woodpecker-agent:
|
agent:
|
||||||
image: woodpeckerci/woodpecker-agent:latest
|
image: woodpeckerci/woodpecker-agent:latest
|
||||||
restart: always
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
|
@ -25,11 +25,9 @@ services:
|
||||||
- .env
|
- .env
|
||||||
- .secret.env
|
- .secret.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- woodpecker-server
|
- server
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
|
||||||
WOODPECKER_SERVER: "woodpecker-server:9000"
|
|
||||||
networks:
|
networks:
|
||||||
local-net:
|
local-net:
|
||||||
|
|
||||||
|
|
Reference in a new issue