-
Notifications
You must be signed in to change notification settings - Fork 3
Rework Notes
the-destro edited this page Sep 30, 2015
·
2 revisions
Right now the current Amhappy is a marginal POC.
- It doesn't track the state of the daemon
- It uses an old restricted version of compose and its private API's
- It relies on the nginx-proxy image for some of the "best" features but the dependency is implicit at best
- The NGINX config seems to cause some very annoying caching issues
- nginx can only do well as a http proxy.
This list is obviously apart from the bugs in the system itself.
So my current thoughts about what works. I really have liked the idea of a solid structure for the traditional web app
- DB
- Code
- Application Runner
I also have liked the idea of named vhost routing. It has worked well for alpha sandboxes and passably for developer environments. While I have enjoyed the emergence of things like weave and kubernetes it seems like there would be substantial development work needed in order for it to fit this model.
Yes I love roadmaps. So, current idea is this:
- Integrate more tightly with compose: instead of using the internal API's use yaml files and the extends to handle the vhost configs. This would involve removing CouchDB as a req
- Use HAProxy instead of nginx. This would allow for routing to db's and other containers instead of just the web frontend
- Craft a script to watch the docker socket for events and generate the HAProxy Config
- Add in managing the proxy to the GUI
- ReWrite the angular app using ui-router