docker-compose.yml 921 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. version: '3.5'
  2. services:
  3. lab:
  4. container_name: jupyterlab
  5. build:
  6. context: ../..
  7. dockerfile: ./Dockerfile
  8. command:
  9. [
  10. '--ServerApp.token=',
  11. '--ServerApp.password=',
  12. '--ServerApp.disable_check_xsrf=True',
  13. '--LabApp.expose_app_in_browser=True',
  14. ]
  15. networks:
  16. - frontend
  17. ports:
  18. - 8888:8888
  19. e2e:
  20. build:
  21. context: ..
  22. command: ['yarn', 'run', 'test', '--jlab-base-url=http://jupyterlab:8888']
  23. # See https://playwright.dev/docs/docker/#run-the-image
  24. ipc: host
  25. networks:
  26. - frontend
  27. depends_on:
  28. - lab
  29. volumes:
  30. # Mount everything in a shared drive to be sure we are not using files from docker cache
  31. - ../reference-output:/tmp/galata/reference-output
  32. - ../test-output:/tmp/galata/test-output
  33. - ../tests:/tmp/galata/tests
  34. working_dir: /tmp/galata
  35. networks:
  36. frontend: