This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
119 lines (111 loc) · 2.7 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
version: "3.8"
services:
ui:
build: ./app
image: aspectodemo/ui
stdin_open: true
volumes:
- "./app/src:/usr/src/app/src"
- "./app/public:/usr/src/app/public"
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "3002:3000"
db:
image: mongo
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
user-service:
build: "./services/user-service"
image: aspectodemo/user-service
volumes:
- "./services/user-service/src:/usr/src/app/src"
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "8000:8080"
environment:
- NODE_ENV
- ASPECTO_AUTH
- ASPECTO_LIVE_FLOWS_URL
- ASPECTO_GITHASH
- ASPECTO_CI_REPORT
- GITHUB_HEAD_REF
- GITHUB_SHA
depends_on:
- db
scraper-service:
build: "./services/scraper-service"
image: aspectodemo/scraper-service
volumes:
- "./services/scraper-service/src:/usr/src/app/src"
environment:
- NODE_ENV
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_EXPORTER_ZIPKIN_ENDPOINT
- ASPECTO_AUTH
- ASPECTO_LIVE_FLOWS_URL
- ASPECTO_GITHASH
- GITHUB_HEAD_REF
- GITHUB_SHA
- AWS_REGION=us-east-1
- AWS_ACCESS_KEY_ID=foobar
- AWS_SECRET_ACCESS_KEY=foobar
ports:
- "8001:8080"
depends_on:
- localstack
wikipedia-processor:
build: "./services/wikipedia-service"
image: aspectodemo/wikipedia-service
volumes:
- "./services/wikipedia-service/src:/usr/src/app/src"
environment:
- NODE_ENV
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_EXPORTER_ZIPKIN_ENDPOINT
- MODE=PROCESSOR
- ASPECTO_LIVE_FLOWS_URL
- ASPECTO_AUTH
- ASPECTO_GITHASH
- GITHUB_HEAD_REF
- GITHUB_SHA
- AWS_REGION=us-east-1
- AWS_ACCESS_KEY_ID=foobar
- AWS_SECRET_ACCESS_KEY=foobar
depends_on:
- localstack
- db
wikipedia-server:
build: "./services/wikipedia-service"
image: aspectodemo/wikipedia-service
volumes:
- "./services/wikipedia-service/src:/usr/src/app/src"
ports:
- "8002:8080"
environment:
- NODE_ENV
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_EXPORTER_ZIPKIN_ENDPOINT
- MODE=SERVER
- ASPECTO_LIVE_FLOWS_URL
- ASPECTO_AUTH
- ASPECTO_GITHASH
- GITHUB_HEAD_REF
- GITHUB_SHA
depends_on:
- db
- articles-cache
articles-cache:
image: redis
ports:
- 6379
expose:
- 6379
localstack:
image: localstack/localstack
ports:
- "4566:4566"
- "4571:4571"
environment:
- DEFAULT_REGION=us-east-1
- SERVICES=sqs
- HOSTNAME_EXTERNAL=localstack