Skip to content

Commit

Permalink
Allow installing dependencies in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpijnacker committed May 7, 2024
1 parent c2d2446 commit 3518973
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ services:
volumes:
# a place for config and plugin code
- ./flexmeasures-instance/:/usr/var/flexmeasures-instance/:ro
command: flexmeasures jobs run-worker --name flexmeasures-worker --queue forecasting\|scheduling
- ./flexmeasures-instance/:/app/instance/:ro
entrypoint: ["/bin/sh", "-c"]
command:
- |
pip install -r instance/requirements.txt
flexmeasures jobs run-worker --name flexmeasures-worker --queue forecasting\|scheduling
test-db:
image: postgres
expose:
Expand Down

0 comments on commit 3518973

Please sign in to comment.