-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
32 lines (32 loc) · 1.01 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
---
services:
workflow.pacta:
# build: .
image: ghcr.io/rmi-pacta/workflow.pacta:pr-96
# stdin_open: true
# tty: true
# entrypoint: ["R", "--args"]
command: '/test_params.json'
# command: '{\"portfolio\": {\"files\": [\"default_portfolio.csv\"], \"holdingsDate\": \"2023-12-31\"}, \"inherit\": \"2023Q4\"}'
environment:
LOG_LEVEL: TRACE
PACTA_DATA_DIR: "/mnt/pacta-data"
ANALYSIS_OUTPUT_DIR: "/mnt/analysis_output_dir"
PORTFOLIO_DIR: "/mnt/portfolios"
volumes:
- type: bind
source: ${data_dir:-./pacta-data}
target: /mnt/pacta-data
read_only: true
- type: bind
source: ${analysis_output_dir:-./analysis_output_dir}
target: /mnt/analysis_output_dir
read_only: false
- type: bind
source: ${input_dir:-./portfolios}
target: /mnt/portfolios
read_only: true
- type: bind
source: ./portfolios/default_params.json
target: /test_params.json
read_only: true