-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (57 loc) · 1.94 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
---
services:
workflow.pacta.webapp:
build: .
stdin_open: true
tty: true
entrypoint: ["R", "--args"]
command: '{\"portfolio\": {\"files\": [\"default_portfolio.csv\"], \"holdingsDate\": \"2023-12-31\", \"name\": \"FooPortfolio\"}, \"inherit\": \"GENERAL_2023Q4\"}'
environment:
LOG_LEVEL: TRACE
ANALYSIS_OUTPUT_DIR: "/mnt/analysis_output_dir"
BENCHMARKS_DIR: "/mnt/benchmarks_dir"
OUTPUT_DIR: "/mnt/analysis_output_dir"
PACTA_DATA_DIR: "/mnt/pacta-data"
PORTFOLIO_DIR: "/mnt/portfolios"
REAL_ESTATE_DIR: "/mnt/real_estate_dir"
REPORT_OUTPUT_DIR: "/mnt/report_output_dir"
SCORE_CARD_DIR: "/mnt/score_card_dir"
SUMMARY_OUTPUT_DIR: "/mnt/summary_output_dir"
SURVEY_DIR: "/mnt/survey_dir"
volumes:
- type: bind
source: ${data_dir:-./pacta-data/}
target: /mnt/pacta-data
read_only: true
- type: bind
source: ${input_dir:-./tests/portfolios/}
target: /mnt/portfolios
read_only: true
- type: bind
source: ${benchmarks_dir:-./benchmarks_dir/}
target: /mnt/benchmarks_dir/
read_only: true
- type: bind
source: ${analysis_output_dir:-./analysis_output_dir/}
target: /mnt/analysis_output_dir
read_only: false
- type: bind
source: ${real_estate_dir:-./real_estate_dir/}
target: /mnt/real_estate_dir
read_only: true
- type: bind
source: ${score_card_dir:-./survey_dir}
target: /mnt/score_card_dir
read_only: true
- type: bind
source: ${survey_dir:-./survey_dir/}
target: /mnt/survey_dir
read_only: true
- type: bind
source: ${report_output_dir:-./report_output_dir/}
target: /mnt/report_output_dir
read_only: false
- type: bind
source: ${summary_output_dir:-./summary_output_dir/}
target: /mnt/summary_output_dir
read_only: false