Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

docker-compose.test.yml 1.3 KB

You have to be logged in to leave a comment. Sign In
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
  1. version: "3"
  2. services:
  3. # Container used for starting a container to run training for original OpenPredict drug-disease model
  4. train:
  5. build:
  6. context: .
  7. dockerfile: src/openpredict_model/Dockerfile
  8. ports:
  9. - 8808:8808
  10. volumes:
  11. - ./:/app
  12. environment:
  13. # Show print() in logs:
  14. PYTHONUNBUFFERED: '1'
  15. LOG_LEVEL: 'INFO'
  16. NO_JAEGER: "true"
  17. entrypoint: sleep infinity
  18. # Container used for testing and running scripts
  19. tests:
  20. build: .
  21. volumes:
  22. - ./:/app
  23. - ~/.nanopub-docker:/root/.nanopub
  24. environment:
  25. PYTHONUNBUFFERED: '1'
  26. LOG_LEVEL: 'INFO'
  27. NO_JAEGER: "true"
  28. entrypoint: pytest --cov=src tests/integration
  29. # entrypoint: pytest tests/integration/test_train_model.py -s
  30. # entrypoint: pytest tests/integration/test_openpredict_api.py::test_post_trapi -s
  31. # entrypoint: pytest tests/package/test_decorator.py -s
  32. # Container to deploy a JupyterLab/VSCode workspace for development
  33. # workspace:
  34. # image: ghcr.io/maastrichtu-ids/jupyterlab
  35. # ports:
  36. # - 8888:8888
  37. # volumes:
  38. # - ./:/home/jovyan/work
  39. # user: root
  40. # environment:
  41. # - GRANT_SUDO=yes
  42. # - LOG_LEVEL=INFO
  43. # ## With password:
  44. # # - JUPYTER_TOKEN=password
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...