742a7dfa35ccaac709a282735d72529a0c4ea840
compute/todo.md
| ... | ... | @@ -8,9 +8,9 @@ haproxy 2002 |
| 8 | 8 | wiki 2003 |
| 9 | 9 | |
| 10 | 10 | ### github puller |
| 11 | -Set the secret from an env var in ansible, write to file, mount file at /etc/github_webhook_secret, read file from the webhook main |
|
| 11 | +Docker image is ilikejam/github-webhook-handler |
|
| 12 | +Set the secret from an env var in ansible, write to file, mount file at /etc/github_webhook_secret |
|
| 12 | 13 | Create /var/run/repos , owner/group 2000, mod 755 |
| 13 | -Push the github-webhook container to docker hub. github-webhook-pull-master or someshit. |
|
| 14 | 14 | Deploy priv key mounted at /etc/id_github_deploy - get contents from ~/.ssh/id_github_deploy |
| 15 | 15 | docker run --mount type=bind,source=/etc/id_github_deploy,target=/etc/id_github_deploy --mount type=bind,source=/var/run/repos,target=/repos -p 80:8000 --user 2000:2000 8df9557df0da & |
| 16 | 16 | Private network |