Vincent GUFFON 5 rokov pred
rodič
commit
366aa3cda3
1 zmenil súbory, kde vykonal 20 pridanie a 22 odobranie
  1. 20 22
      docker-compose.yaml

+ 20 - 22
docker-compose.yaml

@@ -24,6 +24,7 @@ services:
     ports:
       - 3306:3306
     volumes:
+      - ./apps/opentalent-platform/migration:/usr/src:cached
       - ./mysqldata:/var/lib/mysql
       - ./apps/env:/env:cached
       - ./apps/metabase:/usr/metabase:cached
@@ -81,7 +82,7 @@ services:
       - appdata:/var/www/html/app/cache/
       - appdata:/var/www/html/app/logs/
       # Le code sera surtout modifié en dehors du container, donc la consistence est prioritairement dans ce sens
-      - ./apps/opentalent-platform:/var/www/html:rw,cached
+      - ./apps/opentalent-platform:/var/www/html:cached
       # A l'inverse, les vendors seront surtout modifiés dans le container
       - ./apps/opentalent-platform/vendor:/var/www/html/vendor:delegated
     depends_on:
@@ -94,7 +95,7 @@ services:
     container_name: api
     image: nginx:alpine
     volumes:
-      - ./apps/opentalent-platform/web:/var/www/html/web:rw,cached
+      - ./apps/opentalent-platform/web:/var/www/html/web:cached
       - ./docker/nginx/site.conf:/etc/nginx/conf.d/default.conf:cached
     environment:
       - VIRTUAL_HOST=${API_VIRTUAL_HOST}
@@ -108,11 +109,9 @@ services:
       context: .
       dockerfile: docker/node/Dockerfile
     volumes:
-      - admindata:/home/workspace/dist
-      - admindata:/home/workspace/.tmp
-      - ./apps/opentalent-admin-2.0:/home/workspace:rw,cached
-      - ./apps/opentalent-admin-2.0/node_modules:/home/workspace/node_modules:rw,delegated
-      - ./apps/opentalent-admin-2.0/bower_components:/home/workspace/bower_components:rw,delegated
+      - ./apps/opentalent-admin-2.0:/home/workspace:cached
+      - ./apps/opentalent-admin-2.0/node_modules:/home/workspace/node_modules:delegated
+      - ./apps/opentalent-admin-2.0/bower_components:/home/workspace/bower_components:delegated
     tty: true
     ports:
       - 3000:3000
@@ -134,16 +133,16 @@ services:
         - COMPOSER_HASH=${COMPOSER_HASH}
     restart: always
     volumes:
-      - ./docker/typo3/conf/LocalConfiguration.php:/var/www/html/typo3conf/LocalConfiguration.php:rw,cached
-      - ./apps/typo3/websites:/var/www/html/websites:rw,cached
-      - ./apps/opentalent/templates:/var/www/html/fileadmin/templates:rw,cached
-      - ./apps/typo3/themes/BlueSky:/var/www/html/fileadmin/theme_gallery/BlueSky:rw,cached
-      - ./apps/typo3/typo3extension/ot_cms:/var/www/html/typo3conf/ext/ot_cms:rw,cached
-      - ./apps/typo3/typo3extension/ot_portail:/var/www/html/typo3conf/ext/ot_portail:rw,cached
-      - ./apps/typo3/typo3extension/ot_webservice:/var/www/html/typo3conf/ext/ot_webservice:rw,cached
-      - ./apps/typo3/typo3extension/theme_gallery:/var/www/html/typo3conf/ext/theme_gallery:rw,cached
-      - ./apps/typo3/typo3extension/piwik:/var/www/html/typo3conf/ext/piwik:rw,cached
-      - ./apps/typo3/typo3extension/piwikintegration:/var/www/html/typo3conf/ext/piwikintegration:rw,cached
+      - ./docker/typo3/conf/LocalConfiguration.php:/var/www/html/typo3conf/LocalConfiguration.php:cached
+      - ./apps/typo3/websites:/var/www/html/websites:cached
+      - ./apps/opentalent/templates:/var/www/html/fileadmin/templates:cached
+      - ./apps/typo3/themes/BlueSky:/var/www/html/fileadmin/theme_gallery/BlueSky:cached
+      - ./apps/typo3/typo3extension/ot_cms:/var/www/html/typo3conf/ext/ot_cms:cached
+      - ./apps/typo3/typo3extension/ot_portail:/var/www/html/typo3conf/ext/ot_portail:cached
+      - ./apps/typo3/typo3extension/ot_webservice:/var/www/html/typo3conf/ext/ot_webservice:cached
+      - ./apps/typo3/typo3extension/theme_gallery:/var/www/html/typo3conf/ext/theme_gallery:cached
+      - ./apps/typo3/typo3extension/piwik:/var/www/html/typo3conf/ext/piwik:cached
+      - ./apps/typo3/typo3extension/piwikintegration:/var/www/html/typo3conf/ext/piwikintegration:cached
     environment:
       - VIRTUAL_HOST=${PORTAIL_VIRTUAL_HOST}
       - HTTPS_METHOD=noredirect
@@ -159,9 +158,9 @@ services:
         - OS=${OS}
     restart: always
     volumes:
-      - ./apps/opentalent:/var/source/opentalent:rw,cached
-      - ./apps/vendor:/var/source/vendor:rw,delegated
-      - ./apps/opentalent-config:/var/source/config:rw,cached
+      - ./apps/opentalent:/var/source/opentalent:cached
+      - ./apps/vendor:/var/source/vendor:delegated
+      - ./apps/opentalent-config:/var/source/config:cached
     environment:
       - VIRTUAL_HOST=${V59_VIRTUAL_HOST}
     depends_on:
@@ -204,5 +203,4 @@ volumes:
   mysqldata: ~
   elasticsearchdata: ~
   # On rajoute un volume (de données non accessibles en dehors)
-  appdata: ~
-  admindata: ~
+  appdata: ~