docker-compose.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. environment:
  15. - SKIP_INTEGRITY_CHECK=true
  16. networks:
  17. - frontend
  18. ports:
  19. - 8888:8888
  20. e2e:
  21. build:
  22. context: ..
  23. environment:
  24. SERVER_URL: 'jupyterlab:8888'
  25. TIMEOUT: 360
  26. command: ['yarn', 'run', 'test', '--jlab-base-url=http://jupyterlab:8888']
  27. # See https://playwright.dev/docs/docker/#run-the-image
  28. ipc: host
  29. networks:
  30. - frontend
  31. depends_on:
  32. - lab
  33. volumes:
  34. # Mount everything in a shared drive to be sure we are not using files from docker cache
  35. - ../reference-output:/tmp/galata/reference-output
  36. - ../test-output:/tmp/galata/test-output
  37. - ../tests:/tmp/galata/tests
  38. working_dir: /tmp/galata
  39. networks:
  40. frontend: