summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Services/nodejs/README.md')
-rw-r--r--Services/nodejs/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md
index 806f2d5..42e97bd 100644
--- a/Services/nodejs/README.md
+++ b/Services/nodejs/README.md
@@ -44,7 +44,7 @@ service:
environment:
CONTAINER_INSTANCE: "service-nodejs"
ports:
- - "1000:8000"
+ - "1000:8080"
```
* sample docker-compose.yml with port exposed only to linked services
```
@@ -54,7 +54,7 @@ service:
environment:
CONTAINER_INSTANCE: "service-nodejs"
expose:
- - "8000"
+ - "8080"
```
* sample docker-compose.yml using data container
```
@@ -97,7 +97,7 @@ CMD ["/bin/run.sh"]
| Port | Description |
|-------|--------------------------------------------------------------------------|
-| 8000 | network port used to communicate with the running application. Network protocol depend on the running app content.
+| 8080 | network port used to communicate with the running application. Network protocol depend on the running app content.
## Exposed volumes
@@ -125,8 +125,8 @@ You must have a working environment with the source code of this repository. Rea
1. Jump into the container directory with `cd Services/nodejs`
2. Build the container using `docker build -t sv-nodejs .`
3. Run this container
- 1. Interactively with `docker run -p 8000:8000 -v /logs -it sv-nodejs`. If you add a second parameter (like `/bin/bash`) to will run this command instead of the default entrypoint. Usefull to interact with this container (ex: `/bin/bash`, `/bin/ps -a`, `/bin/df -h`,...)
- 2. As a daemon with `docker run -p 8000:8000 -v /logs -d sv-nodejs`
+ 1. Interactively with `docker run -p 8080:8080 -v /logs -it sv-nodejs`. If you add a second parameter (like `/bin/bash`) to will run this command instead of the default entrypoint. Usefull to interact with this container (ex: `/bin/bash`, `/bin/ps -a`, `/bin/df -h`,...)
+ 2. As a daemon with `docker run -p 8080:8080 -v /logs -d sv-nodejs`
### Build & run a container using `docker-compose`