You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ The following flags are a list of all the currently supported options that can b
22
22
-**PHP_UPLOAD_MAX_FILESIZE** : Set a larger upload_max_filesize, default is 100 Mb
23
23
-**DOMAIN** : Set domain name for Lets Encrypt scripts
24
24
-**GIT_HOOK_TOKEN** : Auth-Token used for the [docker-hook](https://github.com/schickling/docker-hook) listener
25
+
-**DOCKER_HOOK_PROXY** : Set to 1 to enable `/docker-hook` as an endpoint on your nginx site
25
26
26
27
27
28
### Dynamically Pulling code from git
@@ -68,6 +69,8 @@ You'll need some extra ENV vars to enable this feature. These are ```GIT_EMAIL``
68
69
69
70
All you have to do is setup the **GIT_HOOK_TOKEN** env var, and any requests to `http://yourdomain:8555/<GIT_HOOK_TOKEN>` will trigger a Git pull
70
71
72
+
You can also enable docker-hook on your default nginx ports with **DOCKER_HOOK_PROXY**. If enabled, you can POST your github webhook to `http(s)://yourdomain/docker-hook/<GIT_HOOK_TOKEN>` without using port 8555.
73
+
71
74
More info on how it works here: [schickling/docker-hook](https://github.com/schickling/docker-hook)
72
75
73
76
### Push code to Git
@@ -119,6 +122,7 @@ docker logs <CONTAINER_NAME>
119
122
```
120
123
121
124
## Thanks to
125
+
*[eduwass/docker-nginx-php-git](https://github.com/eduwass/docker-nginx-php-git) - Enhanced docker image with docker hook
122
126
*[ngineered/nginx-php-fpm](https://github.com/ngineered/nginx-php-fpm) - Base Docker image and Git push/pull functionalities
0 commit comments