-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
49 lines (46 loc) · 902 Bytes
/
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
# https://docs.docker.com/go/compose-spec-reference/
# https://github.com/docker/awesome-compose
services:
mongo:
image: mongo
restart: always
ports:
- 27017:27017
api:
build:
context: ./api/.
target: final
depends_on:
- "mongo"
ports:
- 42069:42069
environment:
MONGODB_URI: mongodb://mongo:27017
develop:
watch:
- action: rebuild
path: ./api/
# ui:
# build:
# context: ./ui/.
# target: final
# depends_on:
# - "api"
# ports:
# - 8080:8080
# develop:
# watch:
# - action: rebuild
# path: ./ui/
collector:
build:
context: ./collector/.
target: final
depends_on:
- "api"
environment:
MONGODB_URI: mongodb://mongo:27017
develop:
watch:
- action: rebuild
path: ./collector/