docker-compose.yml 1019 B

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