]> _ Git - pmi.git/commitdiff
wait #7804 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Oct 2025 12:53:23 +0000 (14:53 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 16 Oct 2025 12:53:23 +0000 (14:53 +0200)
.docker/production/images/elasticsearch/Dockerfile
.docker/production/update
app/Console/Kernel.php

index 3d6610990d0b906c52e99bf1180f6867852b5f9c..cee7b3a5ea90d9a24850a79f6a57c74950e40381 100644 (file)
@@ -1,2 +1,2 @@
-FROM docker.elastic.co/elasticsearch/elasticsearch:8.10.2
+FROM docker.elastic.co/elasticsearch/elasticsearch:9.1.5
 RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
index 6b847323204d79fbd1d15eec77420646cf220e29..ed5728e49736a92cc2954356d21a3f18cd9abb7f 100644 (file)
@@ -14,4 +14,6 @@ COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose pull
 COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build
 docker compose down
 docker compose up -d
+ufw-docker allow pmi
+
 docker stop pmi-mariadb;rm database/data/tc.log;docker start pmi-mariadb
index 825c4f2d9baa1990b71789ae67b4f52f33045079..2dfda249784499a76ff92ac41b90e8f0a3ccdaad 100644 (file)
@@ -30,8 +30,11 @@ class Kernel extends ConsoleKernel
         }
 //        $schedule->command('backup:clean')->daily()->at('04:00');
 //        $schedule->command('backup:run')->daily()->at('05:00');
-        $schedule->command('cubist:search:index PMI all')->cron('35 */6 * * *');
-        $schedule->command('cubist:search:index MICHSCI all')->cron('5 */6 * * *');
+        $schedule->command('cubist:search:index PMI fr')->cron('5 */6 * * *');
+        $schedule->command('cubist:search:index PMI en')->cron('20 */6 * * *');
+        $schedule->command('cubist:search:index MICHSCI fr')->cron('35 */6 * * *');
+        $schedule->command('cubist:search:index MICHSCI en')->cron('45 */6 * * *');
+        $schedule->command('cubist:search:index MICHSCI de')->cron('55 */6 * * *');
     }
 
     /**