-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
31 lines (29 loc) · 1.3 KB
/
docker-compose.test.yml
File metadata and controls
31 lines (29 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ─────────────────────────────────────────────────────────────────────────────
# Docker Compose for E2E Tests
# Запускает интеграционные тесты внутри Docker сети
# ─────────────────────────────────────────────────────────────────────────────
networks:
logistics-net:
external: true
services:
e2e-test-runner:
build:
context: .
dockerfile: Dockerfile.test
container_name: logistics-e2e-tests
restart: no
environment:
NODE_ENV: test
IN_DOCKER: "true"
API_URL: "http://api-gateway:3000"
GRPC_ORDER_HOST: "order-service:50051"
GRPC_INVOICE_HOST: "invoice-service:50052"
GRPC_FLEET_HOST: "fleet-service:50053"
GRPC_ROUTING_HOST: "routing-service:50054"
GRPC_TRACKING_HOST: "tracking-service:50055"
GRPC_DISPATCHER_HOST: "dispatcher-service:50056"
GRPC_COUNTERPARTY_HOST: "counterparty-service:50057"
networks:
- logistics-net
volumes:
- ./test-results:/app/test-results