forked from clearlydefined/docker_dev_env_experiment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (53 loc) · 1.18 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
# Copyright (c) Microsoft Corporation and others. Licensed under the MIT license.
# SPDX-License-Identifier: MIT
version: "3.8"
services:
web:
build:
context: ./website
dockerfile: DevDockerfile
ports:
- "3000:3000"
stdin_open: true
service:
build:
context: ./service
dockerfile: DevDockerfile
ports:
- "4000:4000"
- "9230:9229"
env_file: .env
entrypoint:
- "node"
- "--inspect=0.0.0.0:9229"
- "./bin/www"
volumes:
- ./harvested_data:/tmp/harvested_data
links:
- clearlydefined_mongo_db
- crawler
crawler:
build:
context: ./crawler
dockerfile: DevDockerfile
env_file: .env
volumes:
- ./harvested_data:/tmp/harvested_data
ports:
- "5000:5000"
- "9229:9229"
entrypoint:
- "node"
- "--inspect=0.0.0.0:9229"
- "./index.js"
clearlydefined_mongo_db:
image: "mongo:5.0.6"
ports:
- "27017:27017"
clearlydefined_mongo_seed:
image: "clearlydefined/docker_dev_env_experiment_clearlydefined_mongo_seed"
build:
context: ./mongo_seed
dockerfile: Dockerfile
links:
- clearlydefined_mongo_db