Remove repo owners variable. (only allows syncing from those)

This commit is contained in:
RealStickman 2022-09-12 15:12:26 +02:00
parent 7737abfd03
commit 313d3703b4

View File

@ -33,7 +33,6 @@ title: 'Woodpecker CI'
# podman run --name woodpecker-server -t \ # podman run --name woodpecker-server -t \
-e WOODPECKER_HOST=https://(hostname/ip address) \ -e WOODPECKER_HOST=https://(hostname/ip address) \
-e WOODPECKER_ADMIN=RealStickman \ -e WOODPECKER_ADMIN=RealStickman \
-e WOODPECKER_REPO_OWNERS=RealStickman \
-e WOODPECKER_OPEN=false \ -e WOODPECKER_OPEN=false \
-e WOODPECKER_AGENT_SECRET=(shared secret for server and agents) \ -e WOODPECKER_AGENT_SECRET=(shared secret for server and agents) \
-e WOODPECKER_DATABASE_DRIVER=postgres \ -e WOODPECKER_DATABASE_DRIVER=postgres \
@ -44,7 +43,6 @@ title: 'Woodpecker CI'
``` ```
If `WOODPECKER_OPEN` is set to `true`, any user present on the connected git server could log in to woodpecker. If `WOODPECKER_OPEN` is set to `true`, any user present on the connected git server could log in to woodpecker.
I'm using `WOODPECKER_REPO_OWNERS` instead to allow my user on woodpecker without having to add it manually using the CLI.
If one wanted to add a user manually: `$ woodpecker-cli user add` If one wanted to add a user manually: `$ woodpecker-cli user add`
Generate `WOODPECKER_AGENT_SECRET` with this command: Generate `WOODPECKER_AGENT_SECRET` with this command: