Browse Source

update app node version and app_v3 listening port

Olivier Massot 3 years ago
parent
commit
6a03cca1d7
4 changed files with 11 additions and 6 deletions
  1. 1 1
      .env.skeleton
  2. 7 2
      README.md
  3. 2 2
      docker-compose.yml
  4. 1 1
      docker/app/Dockerfile

+ 1 - 1
.env.skeleton

@@ -79,4 +79,4 @@ MERCURE_SUBSCRIBER_JWT_KEY=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicff
 
 #App-V3
 APP_V3_VIRTUAL_HOST=local.app-v3.opentalent.fr
-APP_V3_PORT=3004
+APP_V3_PORT=3000

+ 7 - 2
README.md

@@ -255,14 +255,19 @@ Enfin, revenir à la racine du projet:
 
 > Plus d'infos ici: <https://gitlab.2iopenservice.com/opentalent/ot_typo3/-/blob/master/doc/docker.md>
 
+#### Docker python-scripts
+
+Exécuter :
+
+    pip3 install -r requirements.txt
 
 #### (optionnel) Docker phpdoc
 
-Pour générer la PHP DOC de l'API:
+Pour générer la PHP-DOC de l'API :
 
     docker run --rm -v /opt/opentalent/apps/api/src/:/data -v /opt/opentalent/apps/apidoc:/output phpdoc/phpdoc:3.1 -d /data -t /output
 
-Le documentation devrait ensuite être accessible à: <http://local.api-doc.opentalent.fr>
+La documentation devrait ensuite être accessible à: <http://local.api-doc.opentalent.fr>
 
 
 ## Démarrer les dockers

+ 2 - 2
docker-compose.yml

@@ -196,11 +196,11 @@ services:
       - ./apps/app-v3:/home/workspace:rw,cached
     tty: true
     ports:
-      - 3004:3000
+      - 3006:3000
       - 24678:24678
     environment:
       - VIRTUAL_HOST=${APP_V3_VIRTUAL_HOST}
-      - VIRTUAL_PORT=${APP_REPORT_PORT}
+      - VIRTUAL_PORT=${APP_V3_PORT}
       - NODE_ENV=development
       - HTTPS_METHOD=noredirect
     depends_on:

+ 1 - 1
docker/app/Dockerfile

@@ -1,5 +1,5 @@
     # Pull base image.
-FROM node:14.18.1-buster
+FROM node:18.10-buster
 
 ENV WORKDIR /home/workspace