Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ymc-github/docker-lnmn
deploy lnmn(Linux+nginx+mysql/mongo+nodejs) using docker
https://github.com/ymc-github/docker-lnmn
alpine dkc docker mongo mysql nginx nodejs
Last synced: 10 days ago
JSON representation
deploy lnmn(Linux+nginx+mysql/mongo+nodejs) using docker
- Host: GitHub
- URL: https://github.com/ymc-github/docker-lnmn
- Owner: YMC-GitHub
- License: mit
- Created: 2019-12-04T18:01:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-05T10:30:16.000Z (about 5 years ago)
- Last Synced: 2024-11-10T16:50:25.387Z (2 months ago)
- Topics: alpine, dkc, docker, mongo, mysql, nginx, nodejs
- Language: Shell
- Homepage:
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## introduction
deploy lnmn(Linux+Nginx+mysql/mongo+nodejs) using docker
## about architecture
![architecture][1]
The whole app is divided into three Containers:
1. nginx is running in `nginx` Container, which handles requests and makes responses.
2. node is put in `nodejs` Container, it retrieves nodejs scripts from host, interprets, executes then responses to Nginx. If necessary, it will connect to `mongo` as well.
3. mongo lies in `mongo` Container,Our app scripts are located on host, you can edit files directly without rebuilding/restarting whole images/containers.
## build your images
At first, you should have had [Docker](https://docs.docker.com) and [Docker Compose](https://docs.docker.com/compose) installed.
$ docker-compose build
## create,start and run your containers
Without building images one by one, you can make use of $(docker-compose) and simply use:
$ docker-compose up --detach
For more operations to containers, please refer to:
$ docker-compose --help
Check out your https://\ and have fun
i prefer to use : docker-compose up --build --detach
## contributors
ymc-github [email protected]
## license
MIT
[1]: architecture.png