webhook stub

master
Thomas Rudin 2019-08-21 15:18:40 +02:00
parent 32033d9fa9
commit d13a2b9aaa
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,9 @@
location /webhook/ {
proxy_pass http://webhook:8080/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
access_log off;
}

View File

@ -31,6 +31,10 @@ services:
options:
max-size: 50m
webhook:
image: registry.rudin.io/x86/webhook-git-updater
restart: always
geoip:
image: klauspost/geoip-service
restart: always
@ -90,6 +94,8 @@ services:
- highscore
- grafana
- mapserver
- webmail
- webhook
- portainer
environment:
VIRTUAL_PORT: 80