Added GitHub webhook functionality and configuration for API interaction
This commit introduces functionality for GitHub webhook interaction and API calls. The git operations are handled by a custom GitHub client in PHP, details for API endpoints are outlined in a new OpenAPI schema, and the project setup includes PHP FPM and NGINX configuration using Docker. A webhook receiver is also added to process incoming webhook payloads.
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
php-fpm:
|
||||
build:
|
||||
context: ./php-fpm
|
||||
volumes:
|
||||
- ./src:/var/www/html
|
||||
networks:
|
||||
- nginx-proxy
|
||||
restart: always
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
environment:
|
||||
- VIRTUAL_HOST=${VIRTUAL_HOST}
|
||||
- VIRTUAL_PORT=${VIRTUAL_PORT}
|
||||
volumes:
|
||||
- ./src:/var/www/html
|
||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
depends_on:
|
||||
- php-fpm
|
||||
networks:
|
||||
- nginx-proxy
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
nginx-proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user