-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 933 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (30 loc) · 933 Bytes
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
# FreeAlphaRadar — local containerised deployment.
# Usage: docker compose up --build
services:
app:
build: .
image: freealpharadar:latest
container_name: freealpharadar
ports:
- "8501:8501"
environment:
# All optional — every value has a safe default. No secrets required.
FAR_LOG_LEVEL: "INFO"
# Set FAR_OFFLINE=1 to force the app to serve cached/sample data only.
# FAR_OFFLINE: "1"
volumes:
# Persist the SQLite cache and watchlist changelogs across restarts.
- far_data:/app/data
- ./watchlist_changes:/app/watchlist_changes
restart: unless-stopped
# Optional: a one-shot scorer you can run on demand to warm the cache:
# docker compose run --rm scorer
scorer:
build: .
image: freealpharadar:latest
profiles: ["tools"]
entrypoint: ["python", "run_scorer.py"]
volumes:
- far_data:/app/data
volumes:
far_data: