docker-compose-playwright.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. services:
  2. backend-testpoint:
  3. build:
  4. context: ..
  5. dockerfile: Dockerfile
  6. environment:
  7. - MODE=backend
  8. - WEBPORT=8080
  9. standalone:
  10. build:
  11. context: ..
  12. dockerfile: Dockerfile
  13. environment:
  14. - MODE=standalone
  15. - WEBPORT=8080
  16. - USE_NEW_DESIGN=false
  17. ports:
  18. - "18180:8080"
  19. standalone-new:
  20. build:
  21. context: ..
  22. dockerfile: Dockerfile
  23. environment:
  24. - MODE=standalone
  25. - WEBPORT=8080
  26. - USE_NEW_DESIGN=true
  27. ports:
  28. - "18185:8080"
  29. backend:
  30. build:
  31. context: ..
  32. dockerfile: Dockerfile
  33. environment:
  34. - MODE=backend
  35. - WEBPORT=8080
  36. ports:
  37. - "18181:8080"
  38. frontend:
  39. build:
  40. context: ..
  41. dockerfile: Dockerfile
  42. depends_on:
  43. - backend-testpoint
  44. environment:
  45. - MODE=frontend
  46. - WEBPORT=8080
  47. volumes:
  48. - ./e2e/fixtures/servers-frontend.json:/servers.json:ro
  49. ports:
  50. - "18182:8080"
  51. dual:
  52. build:
  53. context: ..
  54. dockerfile: Dockerfile
  55. depends_on:
  56. - backend-testpoint
  57. environment:
  58. - MODE=dual
  59. - WEBPORT=8080
  60. volumes:
  61. - ./e2e/fixtures/servers-dual.json:/servers.json:ro
  62. ports:
  63. - "18183:8080"