-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
58 lines (54 loc) · 1.12 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
58
version: '3.7'
services:
dashboard:
build:
context: .
dockerfile: backend/Dockerfile
image: stepancons/crypto-trading-dashboard:latest
container_name: dashboard
restart: always
ports:
- '9090:8080'
volumes:
- type: bind
source: ./config.yaml
target: /config.yaml
- type: bind
source: ./localization.yaml
target: /localization.yaml
environment:
CONFIG: /config.yaml
LOCALE: /localization.yaml
networks:
- default
mongo_db:
image: mongo
container_name: mongo_db
hostname: mongo_db
ports:
- '27017:27017'
volumes:
- mongo_data:/data/db
networks:
- default
bulk_load:
depends_on:
- mongo_db
build:
context: .
dockerfile: bulk-load/Dockerfile
# image: stepancons/crypto-trading-bulk-load:latest
container_name: bulk_load
volumes:
- type: bind
source: ./config.yaml
target: /config.yaml
environment:
CONFIG: /config.yaml
networks:
- default
networks:
default:
driver: bridge
volumes:
mongo_data: