-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
75 lines (75 loc) · 1.5 KB
/
docker-compose.yml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: '3.4'
services:
eventstore:
image: eventstore/eventstore
ports:
- "2113:2113"
- "1113:1113"
environment:
EVENTSTORE_START_STANDARD_PROJECTIONS: "True"
EVENTSTORE_RUN_PROJECTIONS: All
seq:
image: datalust/seq
environment:
ACCEPT_EULA: "Y"
ports:
- "8081:80"
- "5341:5341"
lease-api:
build:
context: ./lease-api
target: runner
ports:
- "50051:50051"
environment:
SERVER_PORT: 50051
EVENTSTORE_HOST: eventstore
depends_on:
- seq
- eventstore
test-lease-api:
build:
context: ./lease-api
target: tester
environment:
LEASE_API_HOST: lease-api
LEASE_API_PORT: 50051
depends_on:
- lease-api
graphql-api:
build:
context: ./graphql-api
target: runner
ports:
- "4000:4000"
environment:
SERVER_PORT: 4000
LEASE_API_HOST: lease-api
LEASE_API_PORT: 50051
SEQ_HOST: seq
SEQ_PORT: 5341
depends_on:
- lease-api
test-graphql-api:
build:
context: ./graphql-api
target: tester
environment:
GRAPHQL_API_HOST: graphql-api
GRAPHQL_API_PORT: 4000
depends_on:
- graphql-api
web-app:
build:
context: ./web-app
environment:
REACT_APP_GRAPHQL_HOST: localhost
REACT_APP_GRAPHQL_PORT: 4000
volumes:
- ./web-app:/app
- /app/node_modules
ports:
- "3000:3000"
- "35729:35729"
depends_on:
- graphql-api