-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
47 lines (42 loc) · 1.01 KB
/
docker-compose.test.yml
File metadata and controls
47 lines (42 loc) · 1.01 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: "2.4"
services:
redis:
extends:
file: common-services.yml
service: redis
ports:
- "6379:6379"
rabbitmq:
extends:
file: common-services.yml
service: rabbitmq
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASS}
ports:
- "5672:5672"
- "15672:15672"
sandbox-worker:
extends:
file: common-services.yml
service: sandbox-worker
environment:
ENVIRONMENT: "test"
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASS}
JOB_TIMEOUT: 25000
web-api:
build:
context: ./Backend
dockerfile: Dockerfile.test
environment:
ASPNETCORE_ENVIRONMENT: "Test"
JobTimeout: 25000
Redis:Connection: "redis:6379"
EventBus:Connection: "rabbitmq:5672"
EventBus:Username: ${RABBITMQ_USER}
EventBus:Password: ${RABBITMQ_PASS}
command: dotnet test
volumes:
executables:
name: "coderoom_executables"