gitea ALLOWED HOST LIST

main
Yik Teng Hie 3 years ago
parent 825423cb16
commit 136218de9c

@ -2,7 +2,7 @@
- Setup gitea webhook to trigger jenkins build
- [Tutorial](https://wiki.gcube-system.org/gcube/Gitea/Jenkins:_Setting_up_Webhooks)
- Update `docker-compose.yml` host name
- Update `docker-compose.yml` host name (Gitea & Jenkins)
```yml
...
services:
@ -12,6 +12,12 @@
extra_hosts:
- "dev.mitech.com.sg:172.16.16.2"
```
- Update Gitea server app.ini. [Reference](https://nixing.mx/posts/configure-gitea-webhooks.html)
```ini
[webhook]
ALLOWED_HOST_LIST = *
```
## Steps
1. Add webhook trigger to Gitea Server

Loading…
Cancel
Save