-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (51 loc) · 1.03 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
version: '3.7'
services:
main-box:
build:
context: .
dockerfile: ./Dockerfile
links:
- "lps-db:lps-host"
hostname: "lps"
ports:
- "8765:8765"
- "42069:42069"
env_file:
- .env
volumes:
- ./logs:/app/logs
- ./secrets:/app/secrets
- ./LastPriceSaver:/app/LastPriceSaver
lps-db:
build:
context: .
dockerfile: ./db/Dockerfile
restart: always
env_file:
- .env
volumes:
- ./db/volume:/var/lib/mysql
ports:
- "3309:${MYSQL_EXTERNAL_PORT}"
csv-importer:
build:
context: .
dockerfile: ./AlgoCsvImporter/Dockerfile
links:
- "lps-db:lps-host"
env_file:
- .env
volumes:
- ./algo-data:/app/algo-data
- ./AlgoCsvImporter:/app/AlgoCsvImporter
algo-merger:
build:
context: .
dockerfile: ./AlgoMerger/Dockerfile
links:
- "lps-db:lps-host"
env_file:
- .env
volumes:
- ./merged-data:/app/merged-data
- ./AlgoMerger:/app/AlgoMerger