Skip to content

Commit

Permalink
Schedule valuation app
Browse files Browse the repository at this point in the history
  • Loading branch information
VolkerFelix committed Jun 25, 2024
1 parent 094de63 commit 6ca7977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
build: valuation
command: >
bash -c "while !</dev/tcp/stock_db/8000; do sleep 1; done;
python3 main.py --indexName SP500 --addToDatabase True"
python3 main.py --indexName SP500 --addToDatabase True --scheduled True"
environment:
- STOCK_DB_URL=stock_db
- STOCK_DB_PORT=8000
Expand All @@ -42,7 +42,7 @@ services:
build: valuation
command: >
bash -c "while !</dev/tcp/stock_db/8000; do sleep 1; done;
python3 main.py --indexName DAX --addToDatabase True"
python3 main.py --indexName DAX --addToDatabase True --scheduled True"
environment:
- STOCK_DB_URL=stock_db
- STOCK_DB_PORT=8000
Expand Down

0 comments on commit 6ca7977

Please sign in to comment.