Files
mostlymatter/e2e-tests/.ci/dashboard.override.yml
Mario Vitale c9cb3d5bb0 Fix E2E test cases and setup for GHA (#26944)
* Fix E2E test cases and setup for GHA
* Fix more test cases, apply recommendations
2024-05-06 08:37:20 +02:00

26 строки
833 B
YAML

---
services:
dashboard:
image: mattermostdevelopment/mirrored-node:18.17
environment:
PG_URI: postgres://mmuser:mostest@db:5432/automation_dashboard_db
JWT_SECRET: s8gGBA3ujKRohSw1L8HLOY7Jjnu2ZYv8 # Generated with e.g. `dd if=/dev/urandom count=24 bs=1 2>/dev/null | base64 -w0`
JWT_USER: cypress-test
JWT_ROLE: integration
JWT_ALG: HS256
JWT_EXPIRES_IN: 365d
ALLOWED_USER: cypress-test
ALLOWED_ROLE: integration
healthcheck:
test: ["CMD", "curl", "-s", "-o/dev/null", "127.0.0.1:4000"]
interval: 10s
timeout: 15s
retries: 12
volumes:
- "../:/app"
- "../../dashboard.entrypoint.sh:/usr/local/bin/dashboard.entrypoint.sh:ro"
working_dir: /app
entrypoint: /usr/local/bin/dashboard.entrypoint.sh
ports:
- 4000:4000