Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmyt/minamo
Docker front-end for NodeJS
https://github.com/tmyt/minamo
docker nodejs paas
Last synced: 2 days ago
JSON representation
Docker front-end for NodeJS
- Host: GitHub
- URL: https://github.com/tmyt/minamo
- Owner: tmyt
- Created: 2015-12-06T15:35:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T11:18:05.000Z (11 months ago)
- Last Synced: 2024-10-28T10:12:29.531Z (about 2 months ago)
- Topics: docker, nodejs, paas
- Language: JavaScript
- Homepage:
- Size: 4.96 MB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Minamo private PaaS
===Concept
---- Build private PaaS on your Server.
- Minamo built on these OpenSource Technologies.
- Git
- NodeJS
- Docker
- Redis
- Nginx```
+--------+ git push +---------------+ Deploy +--------+
| Client | ----------> | Minamo Server | --------> | Docker |
+--------+ +---------------+ +--------+```
Requirements
---- Node >= 7.6.0
- Docker
- NginxInstall
---1. Install dependency packages.
- refer install.sh
2. Configure nginx
- setup your domain in nginx.conf
- include nginx.conf from /etc/nginx/nginx.conf
3. Configure your access rights.
- your unix account need to access docker server.
4. Run services
- Nginx
- Docker
5. Install dependency npm packages.
- ``npm install``
6. Run Minamo engine.
- ``npm start``How to Use
---1. Open management console.
- ``http://your.domain/console``
2. Create first container.
3. Clone repository.
- ``http://git.your.domain/name.git``
4. Add package.json and server.js to your repository.
- package.json requires scripts.start.
5. Push repository to Minamo.
6. Have a coffee.
7. Access to your service!
- ``http://name.your.domain/``Samples
---### package.json
```javascript
{
"name": "SampleService",
"version": "0.0.1",
"dependencies": {
"express": "*"
}
}
```### server.js
```javascript
let express = require('express');
let app = express();app.get('/', function(req, res){
res.send('Hello from Minamo!');
});app.listen(process.env.PORT); // you needs to listen on process.env.PORT.
```