compute/todo.md
... ...
@@ -9,10 +9,7 @@ wiki 2003
9 9
10 10
### github puller
11 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
13
-Create /var/run/repos , owner/group 2000, mod 755
14
-Deploy priv key mounted at /etc/id_github_deploy - get contents from ~/.ssh/id_github_deploy
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 &
12
+docker run --mount type=bind,source=/etc/id_github_deploy,target=/etc/id_github_deploy --mount type=bind,source=/var/run/repos,target=/repos --mount type=bind,source=/etc/github_webhook_secret,target=/etc/github_webhook_secret -p 80:8000 --user 2000:2000 8df9557df0da &
16 13
Private network
17 14
Config haproxy to direct /postdeploy to the container
18 15