Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismarslomic/nodejs-microservice-poc-docker
https://github.com/ismarslomic/nodejs-microservice-poc-docker
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ismarslomic/nodejs-microservice-poc-docker
- Owner: ismarslomic
- Created: 2015-09-13T18:26:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-13T18:29:22.000Z (over 9 years ago)
- Last Synced: 2024-10-12T12:52:35.903Z (3 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-microservice-poc-docker
Files for creating docker containers for running the nodejs-microservice-poc## Get started
```YAML
# 1. make sure you are at top level of this folder
git clone https://github.com/ismarslomic/nodejs-microservice-poc-docker.git
# 2. build all images (Docker-Compose does not automatically update images if Dockerfiles has changed)
docker-compose build
# 3. create and start the containers
docker-compose up -d
```## microservice folder
* Contains the Dockerfile for the nodejs-microservice-poc project## mongo folder
* Contains the folder for database files that will be mounted as volume when starting mongo Docker container
* No Dockerfile defined for mongoDB since official Docker image for mongoDB is sufficient for our case## mongo-express folder
* Contains the Dockerfile for mongo-express project## docker-compose.yml
* Docker-Compose file that defines and runs all Dockerfiles. Read more at https://docs.docker.com/compose/yml/ and
https://docs.docker.com/compose/