From: vincent@cubedesigners.com Date: Thu, 6 Apr 2023 13:06:20 +0000 (+0000) Subject: wait #5856 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=61455840a88b0b029575ac1937e6e1a098d8b7bd;p=cubeextranet.git wait #5856 @0.75 --- diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml index fa306397f..fd0f10851 100644 --- a/.docker/docker-compose.yml +++ b/.docker/docker-compose.yml @@ -27,6 +27,7 @@ services: - '/mnt/sshfs/macparis:/mnt/sshfs/macparis' - '/data/extranet/www/fluidbook/cache/nwbuild:/usr/lib/node_modules/nw-builder/cache' - '/home/toolbox/www:/home/toolbox/www' + - '/data/toolbox/:/data/toolbox/' - '/home/stats/www:/home/stats/www' - '/home/wesco:/home/wesco' # Config @@ -67,6 +68,7 @@ services: - '/mnt/sshfs/macparis:/mnt/sshfs/macparis' - '/data/extranet/www/fluidbook/cache/nwbuild:/usr/lib/node_modules/nw-builder/cache' - '/home/toolbox/www:/home/toolbox/www' + - '/data/toolbox/:/data/toolbox/' - '/home/stats/www:/home/stats/www' - '/home/wesco:/home/wesco' # Config @@ -143,6 +145,7 @@ services: - '/mnt/sshfs/macparis:/mnt/sshfs/macparis' - '/data/extranet/www/fluidbook/cache/nwbuild:/usr/lib/node_modules/nw-builder/cache' - '/home/toolbox/www:/home/toolbox/www' + - '/data/toolbox/:/data/toolbox/' - '/home/stats/www:/home/stats/www' - '/home/wesco:/home/wesco' tmpfs: diff --git a/inc/ws/Metier/class.ws.document.php b/inc/ws/Metier/class.ws.document.php index c86dafc8e..891db1d68 100644 --- a/inc/ws/Metier/class.ws.document.php +++ b/inc/ws/Metier/class.ws.document.php @@ -449,7 +449,7 @@ class wsDocument extends cubeMetier public static function getFarmServers() { if (null === self::$_farmServers) { - self::$_farmServers = json_decode(file_get_contents('/home/toolbox/www/storage/fluidbookfarm/servers'), true); + self::$_farmServers = json_decode(file_get_contents('/data/toolbox/storage/fluidbookfarm/servers'), true); } return self::$_farmServers; @@ -458,7 +458,7 @@ class wsDocument extends cubeMetier public static function pickOneFarmServer($region = 'UE') { $hat = []; - $pings = json_decode(file_get_contents('/home/toolbox/www/storage/fluidbookfarm/pings')); + $pings = json_decode(file_get_contents('/data/toolbox/storage/fluidbookfarm/servers')); $allServers = []; $regionServers = [];