Procházet zdrojové kódy

rename portail_v2 into site_logiciels

Olivier Massot před 1 rokem
rodič
revize
33e52aaf6e
4 změnil soubory, kde provedl 22 přidání a 15 odebrání
  1. 3 3
      .env.skeleton
  2. 12 5
      README.md
  3. 7 7
      docker-compose.yml
  4. 0 0
      docker/site_logiciels/Dockerfile

+ 3 - 3
.env.skeleton

@@ -52,9 +52,9 @@ FRAMES_REPORT_PORT=3005
 AGENDA_VIRTUAL_HOST=local.agenda.opentalent.fr
 AGENDA_PORT=3000
 
-#PORTAIL_V2
-PORTAIL_V2_VIRTUAL_HOST=local.portail_v2.opentalent.fr
-PORTAIL_V2_PORT=3000
+#SITE_LOGICIELS
+SITE_LOGICIELS_VIRTUAL_HOST=local.logiciels.opentalent.fr
+SITE_LOGICIELS_PORT=3000
 
 #V59
 V59_VIRTUAL_HOST=local.v59.opentalent.fr

+ 12 - 5
README.md

@@ -50,6 +50,7 @@ Les repositories suivants doivent être clônés dans les sous-répertoires suiv
 | apps/app                    | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/app)                 | git@gitlab.2iopenservice.com:opentalent/app.git                 |
 | apps/app_v3                 | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/app_nuxt3)           | git@gitlab.2iopenservice.com:opentalent/app_nuxt3.git           |
 | apps/app-doc                | [Voir le repository](https://gitlab.2iopenservice.com/vincent/app-doc)                | git@gitlab.2iopenservice.com:vincent/app-doc.git                |
+| apps/site_logiciels         | [Voir le repository](https://gitlab.2iopenservice.com/opentalent/site_logiciels)                | git@gitlab.2iopenservice.com:opentalent/site_logiciels.git                |
 
 
 ### Configurer le projet
@@ -93,7 +94,7 @@ Pour cela, ajouter les lignes suivantes à votre fichier `/etc/hosts`:
     127.0.0.1 local.app.opentalent.fr   # Docker 'app'
     127.0.0.1 local.app-doc.opentalent.fr   # Docker 'app-doc'
     127.0.0.1 local.mercure.opentalent.fr   # Docker 'mercure'
-    127.0.0.1 local.portail-v2.opentalent.fr    # Docker 'portail-v2'
+    127.0.0.1 local.logiciels.opentalent.fr    # Docker 'logiciels'
     127.0.0.1 local.maestro.opentalent.fr    # Docker 'maestro'
     127.0.0.1 local.nuxt_common.opentalent.fr    # Docker 'nuxt_common'
 
@@ -294,11 +295,11 @@ Puis lancer :
     yarn install
     ln -s .env.docker .env
 
-#### Docker Poratil V2
+#### Docker Site Logiciels
 
 Se connecter au docker:
 
-    docker exec -it portail_v2 bash
+    docker exec -it site_logiciels bash
 
 Puis lancer :
 
@@ -496,6 +497,12 @@ Héberge une instance phpdoc, qui permet ensuite de générer des documentations
 
 TODO: à quoi il sert?
 
+#### (optionnel) Docker: `site_logiciels`
+
+Site internet présentant les logiciels de l'entreprise
+
+> Prod: logiciels.opentalent.fr
+
 
 ## Configuration du réseau
 
@@ -594,9 +601,9 @@ Ainsi configuré, le docker sera joignable sur le réseau interne à l'adresse `
 | app         | app         | O            | 172.20.2.2 | 3002:3000, 3003:3003   | local.app.opentalent.fr / 3002           | -                                                     |
 | app_v3      | app_v3      | O            | 172.20.2.3 | 3009:3000, 24678:24678 | local.app-v3.opentalent.fr / 3000        | -                                                     |
 | frames      | frames      | O            | 172.20.2.4 | 3004:3004, 3005:3005   | local.frames.opentalent.fr / 3004        | -                                                     |
-| agenda      | agenda  | O            | 172.20.2.5 | 3007:3000, 24679:24679 | local.agenda.opentalent.fr / 3000     | -                                                     |
+| agenda      | agenda  | O            | 172.20.2.5 | 3007:3000, 24679:24679 | local.agenda.opentalent.fr / 3000        | -                                                     |
 | portail     | portail     | O            | -          | -                      | local.opentalent.fr                      | -                                                     |
-| portail_v2  | portail_v2  | O            | 172.20.2.6 | 3010:3000, 24680:24680 | local.portail-v2.opentalent.fr / 3000    | -                                                     |
+| site_logiciels  | site_logiciels  | O            | 172.20.2.6 | 3010:3000, 24680:24680 | local.logiciels.opentalent.fr / 3000     | -                                                     |
 | typo3       | typo3       | O            | 172.20.3.1 | -                      | local.sub.opentalent.fr                  | docker.sub.opentalent.fr,  docker.sub.customdomain.fr |
 | adminassos  | adminassos  | O            | -          | -                      | local.v59.opentalent.fr                  | -                                                     |
 | metabase    | metabase    | O            | -          | -                      | local.metabase.opentalent.fr / 3000      | -                                                     |

+ 7 - 7
docker-compose.yml

@@ -345,21 +345,21 @@ services:
     depends_on:
       - nginx
 
-  portail_v2:
-    hostname: portail_v2
-    container_name: portail_v2
+  site_logiciels:
+    hostname: site_logiciels
+    container_name: site_logiciels
     build:
       context: .
-      dockerfile: docker/portail_v2/Dockerfile
+      dockerfile: docker/site_logiciels/Dockerfile
     volumes:
-      - ./apps/portail_v2:/home/workspace:rw,cached
+      - ./apps/site_logiciels:/home/workspace:rw,cached
     tty: true
     ports:
       - "3010:3000"
       - "24680:24680"
     environment:
-      - VIRTUAL_HOST=${PORTAIL_V2_VIRTUAL_HOST}
-      - VIRTUAL_PORT=${PORTAIL_V2_PORT}
+      - VIRTUAL_HOST=${SITE_LOGICIELS_VIRTUAL_HOST}
+      - VIRTUAL_PORT=${SITE_LOGICIELS_PORT}
       - NODE_ENV=development
       - HTTPS_METHOD=noredirect
     networks:

+ 0 - 0
docker/portail_v2/Dockerfile → docker/site_logiciels/Dockerfile