Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpricha89/socker
Docker SAAS manager
https://github.com/dpricha89/socker
docker reverse-proxy sass sass-framework
Last synced: about 2 months ago
JSON representation
Docker SAAS manager
- Host: GitHub
- URL: https://github.com/dpricha89/socker
- Owner: dpricha89
- Created: 2015-09-08T04:49:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-03T21:50:27.000Z (over 7 years ago)
- Last Synced: 2024-10-16T17:00:00.867Z (3 months ago)
- Topics: docker, reverse-proxy, sass, sass-framework
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## SOCKER
### Docker + SAAS + HTTP-Proxy
This is a very simple implementation of deploying docker containers for SAAS to lower infrastructure cost while segregating each customers data. Each organization gets their own front end container (Node JS) and database container (Redis) that are linked together with docker.
#### Coming Soon
+ organization migration (move containers between hosts)
+ admin console for management
+ docker resource data returned to management system
+ more sophisticated method of allocating organizations based on resources
+ tunnel traffic instead of leaving ports open#### Proxy
http-proxy is used to make the connection to the docker containers based on the subdomain.customer1.saasdomain.io ==> ec2-51-24-144-52.us-west-2.compute.amazonaws.com:3031
customer2.saasdomain.io ==> ec2-51-24-144-52.us-west-2.compute.amazonaws.com:3032#### Auto Scale
AWS SDK is used to launch new instances as the organizations grow on the system. The default is set to 5 organizations per instance. When there is not an instance with available space a new instance will be launched and automatically configured to allow docker api access.#### Organization
An organization is used to represent a signup or customer in the system. Each Organization has a Node JS container and a Redis database container.