Files
labFusion/docker-compose.dev.yml
GSRN 299e6c08a6
Some checks failed
Frontend (React) / build (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Failing after 34s
Docker Build and Push / build-and-push (push) Failing after 39s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 33s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 30s
API Docs (Node.js Express) / test (20) (push) Successful in 1m41s
API Docs (Node.js Express) / test (16) (push) Successful in 1m48s
API Docs (Node.js Express) / test (18) (push) Successful in 1m47s
Frontend (React) / test (latest) (push) Failing after 54s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 1m5s
LabFusion CI/CD Pipeline / frontend (push) Failing after 1m3s
Frontend (React) / lighthouse (push) Has been skipped
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m57s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
API Docs (Node.js Express) / build (push) Successful in 59s
Integration Tests / integration-tests (push) Failing after 1m31s
Integration Tests / performance-tests (push) Has been skipped
chore: Update Docker and Node.js dependencies to latest versions
### Summary of Changes
- Updated Docker images for PostgreSQL and Redis to use `latest` tags in `docker-compose.dev.yml` and `docker-compose.yml`.
- Modified Node.js version in the frontend CI workflow to `latest` in `frontend.yml`.
- Updated all dependencies in `package.json` and `package-lock.json` for the frontend and API docs services to `latest` versions.

### Expected Results
- Ensured that the project uses the most recent versions of dependencies, improving security and performance.
- Enhanced compatibility with the latest features and fixes from the respective libraries and services.
2025-09-16 11:33:49 +02:00

117 lines
2.6 KiB
YAML

version: '3.8'
services:
# Database
postgres:
image: postgres:latest
environment:
POSTGRES_DB: labfusion
POSTGRES_USER: labfusion
POSTGRES_PASSWORD: labfusion_password
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- labfusion-network
# Redis for message bus
redis:
image: redis:latest
ports:
- "6379:6379"
volumes:
- redis_data:/data
networks:
- labfusion-network
# Java Spring Boot API Gateway (Development)
api-gateway:
build:
context: ./services/api-gateway
dockerfile: Dockerfile.dev
ports:
- "8080:8080"
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/labfusion
- SPRING_DATASOURCE_USERNAME=labfusion
- SPRING_DATASOURCE_PASSWORD=labfusion_password
- REDIS_HOST=redis
- REDIS_PORT=6379
- SPRING_PROFILES_ACTIVE=dev
depends_on:
- postgres
- redis
networks:
- labfusion-network
volumes:
- ./services/api-gateway:/app
- maven_cache:/root/.m2
# Python FastAPI Service Adapters (Development)
service-adapters:
build:
context: ./services/service-adapters
dockerfile: Dockerfile.dev
ports:
- "8000:8000"
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- POSTGRES_URL=postgresql://labfusion:labfusion_password@postgres:5432/labfusion
depends_on:
- postgres
- redis
networks:
- labfusion-network
volumes:
- ./services/service-adapters:/app
# React Frontend (Development)
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
environment:
- REACT_APP_API_URL=http://localhost:8080
- REACT_APP_WEBSOCKET_URL=ws://localhost:8080/ws
depends_on:
- api-gateway
networks:
- labfusion-network
volumes:
- ./frontend:/app
- /app/node_modules
# API Documentation Service (Development)
api-docs:
build:
context: ./services/api-docs
dockerfile: Dockerfile.dev
ports:
- "8083:8083"
environment:
- API_GATEWAY_URL=http://api-gateway:8080
- SERVICE_ADAPTERS_URL=http://service-adapters:8000
- METRICS_COLLECTOR_URL=http://metrics-collector:8081
- NOTIFICATION_SERVICE_URL=http://notification-service:8082
depends_on:
- api-gateway
- service-adapters
networks:
- labfusion-network
volumes:
- ./services/api-docs:/app
- /app/node_modules
volumes:
postgres_data:
redis_data:
maven_cache:
networks:
labfusion-network:
driver: bridge