forked from nianticlabs/modron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
57 lines (52 loc) · 1.03 KB
/
docker-compose.yaml
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
48
49
50
51
52
53
54
55
56
57
version: '3'
services:
modron:
container_name: modron
build: src/
environment:
PORT: 8080
ENVIRONMENT: "E2E_GRPC_TESTING"
STORAGE: "MEM"
COLLECTOR: "FAKE"
ORG_ID: "0123456789"
ORG_SUFFIX: "@example.com"
ports:
- "8080:8080"
networks:
- modron
modron_fake:
container_name: modron_fake
build: src/
environment:
PORT: 8081
ENVIRONMENT: "E2E_GRPC_TESTING"
STORAGE: "MEM"
COLLECTOR: "FAKE"
ORG_ID: "0123456789"
ORG_SUFFIX: "@example.com"
ports:
- "8081:8081"
networks:
- modron
modron_test:
container_name: e2e_test
build:
context: src/
dockerfile: Dockerfile.e2e
environment:
BACKEND_ADDRESS: "modron:8080"
FAKE_BACKEND_ADDRESS: "modron_fake:8081"
volumes:
- stats:/app/stats
- "./secrets:/app/secrets"
networks:
- modron
depends_on:
- modron
- modron_fake
volumes:
stats:
external: false
networks:
modron:
driver: bridge