Compare commits

..

2 Commits

Author SHA1 Message Date
7928bc596f compose file 2025-11-11 12:40:53 +01:00
3874eaed83 compose file added 2025-11-11 12:34:49 +01:00

49
docker-compose.yaml Normal file
View File

@@ -0,0 +1,49 @@
version: "3.9"
x-environment: &default-env
MQTT_BROKER: "172.23.1.102"
MQTT_PORT: 1883
REDIS_HOST: "172.23.1.116"
REDIS_PORT: 6379
REDIS_DB: 8
services:
ui:
build:
context: .
dockerfile: apps/ui/Dockerfile
container_name: ui
environment:
UI_PORT: 8002
API_BASE: "http://172.19.1.11:8001"
BASE_PATH: "/"
ports:
- "8002:8002"
depends_on:
- api
api:
build:
context: .
dockerfile: apps/api/Dockerfile
container_name: api
environment:
<<: *default-env
REDIS_CHANNEL: "ui:updates"
volumes:
- ./config:/app/config:ro
ports:
- "8001:8001"
depends_on:
- abstraction
abstraction:
build:
context: .
dockerfile: apps/abstraction/Dockerfile
container_name: abstraction
environment:
<<: *default-env
volumes:
- ./config:/app/config:ro