Updated readmes

This commit is contained in:
Marc Campbell
2019-05-16 01:17:24 +00:00
parent 5a63214326
commit 4b4ca383ae
2 changed files with 11 additions and 1 deletions

View File

@@ -1,2 +1,8 @@
# replreg hooks api serer
# replreg hooks
This is the hooks server that also has the reaper for replreg.is.
The webhooks from the registry are terminated in [src/controllers/HookAPI.ts](https://github.com/replicatedhq/replreg/blob/master/hooks/src/controllers/HookAPI.ts). The reaper runs on a cron and executes [src/commands/reap.ts](https://github.com/replicatedhq/replreg/blob/master/hooks/src/commands/reap.ts).

4
registry/README.md Normal file
View File

@@ -0,0 +1,4 @@
# replreg registry
This is the registry server that runs in replreg.is. It's a configured Docker registry, using the registry:2 image. There the confguration installs a hook into the registry, that will fire notifications when an image is pushed. The work to expire and delete images happens in the hook directory.