This commit is contained in:
+18
-18
@@ -66,6 +66,14 @@ x-backend-environment: &backend-environment
|
||||
ARK_EMBEDDING_MODEL: ${ARK_EMBEDDING_MODEL:-}
|
||||
ARK_REQUEST_TIMEOUT: ${ARK_REQUEST_TIMEOUT:-30s}
|
||||
|
||||
x-backend-build: &backend-build
|
||||
context: .
|
||||
dockerfile: deploy/backend.Dockerfile
|
||||
args:
|
||||
VERSION: ${PLATFORM_BUILD_VERSION:-dev}
|
||||
COMMIT: ${PLATFORM_BUILD_COMMIT:-unknown}
|
||||
BUILD_TIME: ${PLATFORM_BUILD_TIME:-unknown}
|
||||
|
||||
x-backend-dependencies: &backend-dependencies
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -194,9 +202,7 @@ services:
|
||||
restart: "no"
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/backend.Dockerfile
|
||||
build: *backend-build
|
||||
entrypoint: ["/app/api"]
|
||||
environment:
|
||||
<<: *backend-environment
|
||||
@@ -208,9 +214,7 @@ services:
|
||||
depends_on: *backend-dependencies
|
||||
|
||||
callbacks:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/backend.Dockerfile
|
||||
build: *backend-build
|
||||
entrypoint: ["/app/callbacks"]
|
||||
environment:
|
||||
<<: *backend-environment
|
||||
@@ -223,9 +227,7 @@ services:
|
||||
depends_on: *backend-dependencies
|
||||
|
||||
worker:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/backend.Dockerfile
|
||||
build: *backend-build
|
||||
entrypoint: ["/app/worker"]
|
||||
environment:
|
||||
<<: *backend-environment
|
||||
@@ -255,9 +257,7 @@ services:
|
||||
condition: service_started
|
||||
|
||||
mock-provider:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/backend.Dockerfile
|
||||
build: *backend-build
|
||||
entrypoint: ["/app/mock-provider"]
|
||||
environment:
|
||||
HTTP_ADDR: 0.0.0.0:8083
|
||||
@@ -273,9 +273,7 @@ services:
|
||||
condition: service_started
|
||||
|
||||
mock-alert-receiver:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/backend.Dockerfile
|
||||
build: *backend-build
|
||||
entrypoint: ["/app/mock-alert-receiver"]
|
||||
environment:
|
||||
HTTP_ADDR: 0.0.0.0:8084
|
||||
@@ -285,9 +283,7 @@ services:
|
||||
|
||||
sim-device:
|
||||
profiles: [simulation]
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/backend.Dockerfile
|
||||
build: *backend-build
|
||||
entrypoint: ["/app/sim-device"]
|
||||
environment:
|
||||
SIM_API_URL: http://api:8080
|
||||
@@ -301,6 +297,10 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/web.Dockerfile
|
||||
args:
|
||||
VERSION: ${PLATFORM_BUILD_VERSION:-dev}
|
||||
COMMIT: ${PLATFORM_BUILD_COMMIT:-unknown}
|
||||
BUILD_TIME: ${PLATFORM_BUILD_TIME:-unknown}
|
||||
environment:
|
||||
WEB_OIDC_AUTHORITY: ${WEB_OIDC_AUTHORITY:-http://localhost:58180/realms/voice-local}
|
||||
WEB_OIDC_CLIENT_ID: ${WEB_OIDC_CLIENT_ID:-voice-platform-web}
|
||||
|
||||
Reference in New Issue
Block a user