Skip to content

Modular logistics and supply chain operating system (LSOS)

almost ready for release, pending updates to registry...

Ronald A. Richardson9ec786d892b3
diff --git a/Caddyfile b/Caddyfile
index 52926937..1ef2c950 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -10,10 +10,3 @@ http://:8000 {
resolve_root_symlink
}
}
-
-http://:4201 {
- root * /fleetbase/console/dist
- try_files {path} /
- encode zstd gzip
- file_server
-}
diff --git a/api/composer.json b/api/composer.json
index 73838294..5e519adb 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -11,8 +11,8 @@
"php": "^8.0",
"fleetbase/core-api": "^1.4.30",
"fleetbase/fleetops-api": "^0.5.4",
+ "fleetbase/registry-bridge": "^0.0.7",
"fleetbase/storefront-api": "^0.3.13",
- "fleetbase/registry-bridge": "^0.0.6",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^10.0",
"laravel/octane": "^2.3",
diff --git a/api/composer.lock b/api/composer.lock
index 685a2ec4..c7249e30 100644
--- a/api/composer.lock
+++ b/api/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "db474ecd598212d5b1a6cfe8543087ed",
+ "content-hash": "b819041f7412d63e732e4e51291219b9",
"packages": [
{
"name": "aloha/twilio",
@@ -2614,16 +2614,16 @@
},
{
"name": "fleetbase/registry-bridge",
- "version": "0.0.6",
+ "version": "0.0.7",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/registry-bridge.git",
- "reference": "7c77d34a961b990d4a9524a1aa474149e84a1932"
+ "reference": "6b38d3c4e0ef22f48e63ef902a918f2dcf92df75"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/registry-bridge/zipball/7c77d34a961b990d4a9524a1aa474149e84a1932",
- "reference": "7c77d34a961b990d4a9524a1aa474149e84a1932",
+ "url": "https://api.github.com/repos/fleetbase/registry-bridge/zipball/6b38d3c4e0ef22f48e63ef902a918f2dcf92df75",
+ "reference": "6b38d3c4e0ef22f48e63ef902a918f2dcf92df75",
"shasum": ""
},
"require": {
@@ -2690,9 +2690,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/registry-bridge/issues",
- "source": "https://github.com/fleetbase/registry-bridge/tree/v0.0.6"
+ "source": "https://github.com/fleetbase/registry-bridge/tree/v0.0.7"
},
- "time": "2024-07-19T10:00:23+00:00"
+ "time": "2024-07-19T10:53:57+00:00"
},
{
"name": "fleetbase/storefront-api",
diff --git a/api/deploy.sh b/api/deploy.sh
index 57ada320..156a4876 100755
--- a/api/deploy.sh
+++ b/api/deploy.sh
@@ -23,3 +23,6 @@ php artisan schedule-monitor:sync
# Clear cache
php artisan cache:clear
+
+# Initialize registry
+php artisan registry:init
diff --git a/console/package.json b/console/package.json
index 61af55cc..3b19b43c 100644
--- a/console/package.json
+++ b/console/package.json
@@ -35,7 +35,7 @@
"@fleetbase/storefront-engine": "^0.3.13",
"@fleetbase/dev-engine": "^0.2.5",
"@fleetbase/iam-engine": "^0.0.14",
- "@fleetbase/registry-bridge-engine": "^0.0.6",
+ "@fleetbase/registry-bridge-engine": "^0.0.7",
"@fleetbase/fleetops-data": "^0.1.17",
"@fleetbase/leaflet-routing-machine": "^3.2.16",
"@ember/legacy-built-in-components": "^0.4.1",
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index 8719f8f1..2ae78713 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -38,8 +38,8 @@ importers:
specifier: ^3.2.16
version: 3.2.16
'@fleetbase/registry-bridge-engine':
- specifier: ^0.0.6
+ specifier: ^0.0.7
'@fleetbase/storefront-engine':
specifier: ^0.3.13
@@ -1599,8 +1599,8 @@ packages:
'@fleetbase/[email protected]':
resolution: {integrity: sha512-af0mKH3VKIGEfYEGXS9cedhgniwgkNwjC/Gp9ZEzXGTX2/13PyMdd1XOQTamaItPbh5x2uK2/n1BP0vIJ7ObEQ==}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-yLWlOg+ZwrqAQvjJm73ferBrKPvUp8B07x9KllSznucZ95H6VIFjmyAR4zewdtIM0T8DwJv8vXlrB1GJAoCOMw==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-IekvDA2/xOszl3hHmzNwgKSZNV9B6lKYSS5es0NBAmZJslFONy6g4siA0OOyRHMJinS4kHziDbWUyrmSYA0biw==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -10483,7 +10483,7 @@ snapshots:
'@mapbox/polyline': 0.2.0
osrm-text-instructions: 0.13.4
dependencies:
'@babel/core': 7.24.9
diff --git a/docker-compose.yml b/docker-compose.yml
index 85404d3a..d342f17b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -39,8 +39,6 @@ services:
REDIS_URL: tcp://cache
application:
- ports:
- - "4201:4201"
build:
context: .
dockerfile: docker/Dockerfile
@@ -63,6 +61,8 @@ services:
MODEL_CACHE_ENABLED: 'true'
RESPONSE_CACHE_ENABLED: 'true'
RESPONSE_CACHE_DRIVER: redis
+ REGISTRY_HOST: https://registry.fleetbase.io
+ REGISTRY_PREINSTALLED_EXTENSIONS: 'true'
depends_on:
- database
- cache
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 699ac848..91a659c0 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -98,33 +98,6 @@ RUN chmod -R 755 /fleetbase/api/storage
# Set permissions for deploy script
RUN chmod +x /fleetbase/api/deploy.sh
-## -------------------------
-## -- Start Console Setup --
-## -------------------------
-
-# Set working directory
-WORKDIR /fleetbase/console
-
-# Copy pnpm-lock.yaml (or package.json) into the directory /app in the container
-COPY ./console/package.json ./console/pnpm-lock.yaml ./console/.npmrc /fleetbase/console/
-
-# Copy over .npmrc if applicable
-# COPY ./console/.npmr[c] /fleetbase/console/
-RUN cat /fleetbase/console/.npmrc
-
-# Install app dependencies
-RUN pnpm install
-
-# Copy the console directory contents into the container at /app
-COPY ./console /fleetbase/console/
-
-# Build the application
-RUN pnpm build --environment $ENVIRONMENT
-
-## -------------------------
-## -- End Console Setup --
-## -------------------------
-
# Scheduler base stage
FROM base as scheduler-base
diff --git a/packages/pallet b/packages/pallet
index 9d87fc26..424446db 160000
--- a/packages/pallet
+++ b/packages/pallet
@@ -1 +1 @@
-Subproject commit 9d87fc26fee41db9a7901b56599e4062f08e3ef9
+Subproject commit 424446db0e1168c9deea8dd74a1033612cba476f
diff --git a/packages/registry-bridge b/packages/registry-bridge
index 7c77d34a..6b38d3c4 160000
--- a/packages/registry-bridge
+++ b/packages/registry-bridge
@@ -1 +1 @@
-Subproject commit 7c77d34a961b990d4a9524a1aa474149e84a1932
+Subproject commit 6b38d3c4e0ef22f48e63ef902a918f2dcf92df75