Files
magistrala/docker/docker-compose-live.yaml
T
Dušan Borovčanin 178aa46ad4 SMQ-2533 - Rename Magistrala to SuperMQ (#2560)
Signed-off-by: Dusan Borovcanin <borovcanindusan1@gmail.com>
2024-12-04 11:17:09 +01:00

97 lines
3.7 KiB
YAML

# Copyright (c) Abstract Machines
# SPDX-License-Identifier: Apache-2.0
services:
domains:
image: supermq/domains-dev
build:
context: .
dockerfile: Dockerfile.livereload
volumes:
- ../:/go/src/github.com/absmach/supermq
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
working_dir: /go/src/github.com/absmach/supermq
entrypoint: [ "air",
"--build.cmd", "BUILD_DIR=/tmp make domains",
"--build.bin", "/tmp/domains",
"--build.stop_on_error", "true",
"--build.send_interrupt", "true",
"--build.include_file","dockers/.env",
"--build.exclude_dir", ".vscode,.git,.docker,.github,api,build,tools,scripts",
"--build.exclude_regex", "[\"_test\\.go\"" ,
"--tmp_dir", "/tmp",]
users:
image: supermq/users-dev
build:
context: .
dockerfile: Dockerfile.livereload
volumes:
- ../:/go/src/github.com/absmach/supermq
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
working_dir: /go/src/github.com/absmach/supermq
entrypoint: [ "air",
"--build.cmd", "BUILD_DIR=/tmp make users",
"--build.bin", "/tmp/users",
"--build.stop_on_error", "true",
"--build.send_interrupt", "true",
"--build.exclude_dir", ".vscode,.git,.docker,.github,api,build,tools,scripts",
"--build.exclude_regex", "[\"_test\\.go\"" ,
"--tmp_dir", "/tmp",]
clients:
image: supermq/clients-dev
build:
context: .
dockerfile: Dockerfile.livereload
volumes:
- ../:/go/src/github.com/absmach/supermq
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
working_dir: /go/src/github.com/absmach/supermq
entrypoint: [ "air",
"--build.cmd", "BUILD_DIR=/tmp make clients",
"--build.bin", "/tmp/clients",
"--build.stop_on_error", "true",
"--build.send_interrupt", "true",
"--build.exclude_dir", ".vscode,.git,.docker,.github,api,build,tools,scripts",
"--build.exclude_regex", "[\"_test\\.go\"" ,
"-tmp_dir", "/tmp",]
channels:
image: supermq/channels-dev
build:
context: .
dockerfile: Dockerfile.livereload
volumes:
- ../:/go/src/github.com/absmach/supermq
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
working_dir: /go/src/github.com/absmach/supermq
entrypoint: [ "air",
"--build.cmd", "BUILD_DIR=/tmp make channels",
"--build.bin", "/tmp/channels",
"--build.stop_on_error", "true",
"--build.send_interrupt", "true",
"--build.exclude_dir", ".vscode,.git,.docker,.github,api,build,tools,scripts",
"--build.exclude_regex", "[\"_test\\.go\"" ,
"-tmp_dir", "/tmp",]
channels-db:
command: ["postgres", "-c", "log_statement=all"]
groups:
image: supermq/groups-dev
build:
context: .
dockerfile: Dockerfile.livereload
volumes:
- ../:/go/src/github.com/absmach/supermq
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
working_dir: /go/src/github.com/absmach/supermq
entrypoint: [ "air",
"--build.cmd", "BUILD_DIR=/tmp make groups",
"--build.bin", "/tmp/groups",
"--build.stop_on_error", "true",
"--build.send_interrupt", "true",
"--build.exclude_dir", ".vscode,.git,.docker,.github,api,build,tools,scripts",
"--build.exclude_regex", "[\"_test\\.go\"" ,
"-tmp_dir", "/tmp",]