mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-04 21:37:08 +00:00
Use Socketcluster official images
This commit is contained in:
@@ -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:", "")))
|
||||
) : []
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user