diff options
author | startxfr <clarue@startx.fr> | 2015-12-06 03:44:47 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-12-06 03:44:47 +0100 |
commit | 1af7a22460dafe12f22f9b564d946f3d583f4cb0 (patch) | |
tree | 3d13d49ba4f5d6ac8cb4532435898b911bdf5a02 /Services/nodejs | |
parent | b502829a772adb36d4786db369aa4d803eb7877c (diff) | |
download | phpmyadmin-1af7a22460dafe12f22f9b564d946f3d583f4cb0.tar.gz phpmyadmin-1af7a22460dafe12f22f9b564d946f3d583f4cb0.tar.bz2 phpmyadmin-1af7a22460dafe12f22f9b564d946f3d583f4cb0.tar.xz phpmyadmin-1af7a22460dafe12f22f9b564d946f3d583f4cb0.zip |
debuging images and improve startup display
Diffstat (limited to 'Services/nodejs')
-rw-r--r-- | Services/nodejs/README.md | 4 | ||||
-rw-r--r-- | Services/nodejs/docker-compose.yml | 2 | ||||
-rw-r--r-- | Services/nodejs/run.sh | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md index 69a99d3..240b7b8 100644 --- a/Services/nodejs/README.md +++ b/Services/nodejs/README.md @@ -19,8 +19,8 @@ Could use various network protocol (like http, websocket, smtp, telnet) accordin ## Available flavours -* `:latest` : Fedora core 23 + NodeJS -* `:fc23` : Fedora core 23 + NodeJS +* `:latest` : Fedora core 23 + NodeJS v0.10.36 +* `:fc23` : Fedora core 23 + NodeJS v0.10.36 * `:fc22` : Fedora core 22 + NodeJS * `:fc21` : Fedora core 21 + NodeJS * `:centos7` : CentOS 7 + NodeJS diff --git a/Services/nodejs/docker-compose.yml b/Services/nodejs/docker-compose.yml index 48774e0..2ae018b 100644 --- a/Services/nodejs/docker-compose.yml +++ b/Services/nodejs/docker-compose.yml @@ -6,7 +6,7 @@ server: cpu_shares: 5 restart: "on-failure:2" ports: - - "8000:8000" + - "9221:8000" environment: CONTAINER_TYPE: "service" CONTAINER_SERVICE: "nodejs" diff --git a/Services/nodejs/run.sh b/Services/nodejs/run.sh index 366446c..1bd6a50 100644 --- a/Services/nodejs/run.sh +++ b/Services/nodejs/run.sh @@ -22,12 +22,12 @@ function display_container_nodejs_header { if [ -v CONTAINER_TYPE ]; then echo "| Type : $CONTAINER_TYPE" fi - if [ -v CONTAINER_INSTANCE ]; then - echo "| Instance : $CONTAINER_INSTANCE" - fi if [ -v CONTAINER_SERVICE ]; then echo "| Service : $CONTAINER_SERVICE" fi + if [ -v CONTAINER_INSTANCE ]; then + echo "| Instance : $CONTAINER_INSTANCE" + fi if [ -v APP_PATH ]; then echo "| App path : $APP_PATH" fi @@ -46,7 +46,7 @@ function begin_config { FILE_LIST=$(find $TMP_APP_PATH -maxdepth 1 -mindepth 1 -printf "%f\n") for FILE in $FILE_LIST; do echo -n "adding $APP_PATH/$FILE" - mv -f $TMP_APP_PATH/$FILE $APP_PATH/ + cp -r $TMP_APP_PATH/$FILE $APP_PATH/ echo " DONE" done fi |