-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (52 loc) · 2.08 KB
/
docker-compose.yml
File metadata and controls
52 lines (52 loc) · 2.08 KB
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
services:
bank-processor:
image: ${DOCKER_IMAGE:-bankstatementsprocessor}:${VERSION:-latest}
network_mode: "none"
build:
context: .
target: production
args:
VERSION: ${VERSION:-dev}
BUILD_DATE: ${BUILD_DATE:-}
VCS_REF: ${VCS_REF:-}
pull_policy: ${PULL_POLICY:-build}
container_name: bank-statement-processor
platform: linux/arm64 # Ensures the container runs on Apple Silicon
volumes:
- ./input:/app/input # Input statements
- ./output:/app/output # Output CSV files
- ./logs:/app/logs # Processing activity logs
environment:
# Privacy and telemetry opt-out for all dependencies
- DO_NOT_TRACK=1
- TELEMETRY_DISABLED=true
- PIP_NO_INPUT=1
- PIP_DISABLE_PIP_VERSION_CHECK=1
- PANDAS_TELEMETRY_ENABLED=false
- PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- LOCUST_DISABLE_TELEMETRY=1
- ANALYTICS_DISABLED=true
- NO_ANALYTICS=1
- SENTRY_DSN=
- SEGMENT_WRITE_KEY=
# Shell-layer variables (consumed by the container entrypoint, not by AppConfig)
- LOG_LEVEL=${LOG_LEVEL:-INFO}
# Exit after processing by default for simple one-shot usage
# Set to false for interactive/development use
- EXIT_AFTER_PROCESSING=${EXIT_AFTER_PROCESSING:-true}
- ENABLE_DYNAMIC_BOUNDARY=${ENABLE_DYNAMIC_BOUNDARY:-false}
- SORT_BY_DATE=${SORT_BY_DATE:-true}
- RECURSIVE_SCAN=${RECURSIVE_SCAN:-true}
# Output configuration - expense analysis enabled by default (monthly summary requires PAID tier)
- OUTPUT_FORMATS=${OUTPUT_FORMATS:-csv,json}
- GENERATE_MONTHLY_SUMMARY=${GENERATE_MONTHLY_SUMMARY:-true}
- GENERATE_EXPENSE_ANALYSIS=${GENERATE_EXPENSE_ANALYSIS:-true}
- TOTALS_COLUMNS=${TOTALS_COLUMNS:-debit,credit}
- TABLE_TOP_Y=${TABLE_TOP_Y:-250}
- TABLE_BOTTOM_Y=${TABLE_BOTTOM_Y:-720}
- DATA_RETENTION_DAYS=${DATA_RETENTION_DAYS:-0}
- AUTO_CLEANUP_ON_EXIT=${AUTO_CLEANUP_ON_EXIT:-false}
- LOGS_DIR=${LOGS_DIR:-logs}
mem_limit: 8g
shm_size: 2g
volumes: {}