Skip to content

Modular logistics and supply chain operating system (LSOS)

Use Socketcluster official images

Eugene Dementyev98f3a2ceba4a
diff --git a/docker-bake.hcl b/docker-bake.hcl
index 08cc69dc..3945d2da 100644
--- a/docker-bake.hcl
+++ b/docker-bake.hcl
@@ -4,7 +4,7 @@ variable "tags" { default = "[]" }
target "docker-metadata-action" {}
group "default" {
- targets = ["app", "app-httpd", "socketcluster"]
+ targets = ["app", "app-httpd"]
}
target "app" {
@@ -54,17 +54,3 @@ target "app-httpd" {
concat(["latest"], jsondecode(replace(tags, "willbereplaced:", "")))
) : []
}
-target "socketcluster" {
- inherits = ["docker-metadata-action"]
-
- context = "./"
- dockerfile = "socket/Dockerfile"
- platforms = [
- "linux/amd64",
- ]
-
- tags = notequal("", REGISTRY) ? formatlist(
- "${REGISTRY}/fleetbase-socketcluster:%s",
- concat(["latest"], jsondecode(replace(tags, "willbereplaced:", "")))
- ) : []
-}
diff --git a/docker-compose.yml b/docker-compose.yml
index 00feb874..633c9884 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -15,11 +15,7 @@ services:
MYSQL_DATABASE: "fleetbase"
socket:
- build:
- context: .
- dockerfile: socket/Dockerfile
- args:
- ENVIRONMENT: dev
+ image: socketcluster/socketcluster:v17.4.0
ports:
- "38000:8000"
environment:
@@ -58,4 +54,4 @@ services:
LOG_CHANNEL: daily
depends_on:
- database
- - cache
\ No newline at end of file
+ - cache