31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
# Yote-In-Vest DEMO: real prices and news, fake money, no broker, no TradingView needed.
|
|
#
|
|
# docker compose -f docker-compose.demo.yml up -d --build
|
|
# open http://localhost:8000
|
|
#
|
|
# Runs on your own machine only (port 8000 on localhost). To run the demo on your
|
|
# server behind Traefik instead, use docker-compose.yml with DEMO_MODE=true in .env.
|
|
|
|
services:
|
|
yote-in-vest-demo:
|
|
build: .
|
|
pull_policy: build # always build from this folder; never try to pull from a registry
|
|
container_name: yote-in-vest-demo
|
|
restart: unless-stopped
|
|
env_file:
|
|
- path: .env
|
|
required: false # optional: add DEEPSEEK_API_KEY here for AI news judgement
|
|
environment:
|
|
DEMO_MODE: "true"
|
|
DEMO_DATA: ${DEMO_DATA:-real} # "simulated" = made-up prices, works offline
|
|
DEMO_INTERVAL: ${DEMO_INTERVAL:-1h}
|
|
WEBHOOK_SECRET: ${WEBHOOK_SECRET:-demo} # needed for the Reset and Kill switch buttons
|
|
DB_PATH: /data/demo.db
|
|
ports:
|
|
- "127.0.0.1:8000:8000"
|
|
volumes:
|
|
- yote-in-vest-demo-data:/data
|
|
|
|
volumes:
|
|
yote-in-vest-demo-data:
|