summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/README.md
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2016-10-30 14:24:48 +0100
committerstartxfr <clarue@startx.fr>2016-10-30 14:24:48 +0100
commit275245093c596777195bfd8a7922c6d09d19ed2c (patch)
tree1a11e822a23e6d8a9f8416b91890e5572ea90e12 /Services/nodejs/README.md
parent20eb425e1ab95b9870fdf71f969c0d5189a09e9a (diff)
downloadphpmyadmin-275245093c596777195bfd8a7922c6d09d19ed2c.tar.gz
phpmyadmin-275245093c596777195bfd8a7922c6d09d19ed2c.tar.bz2
phpmyadmin-275245093c596777195bfd8a7922c6d09d19ed2c.tar.xz
phpmyadmin-275245093c596777195bfd8a7922c6d09d19ed2c.zip
change nodejs port to 8080
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`