PSA/docker-compose.playwright-workflow-deps.yml
Hermes 284313f908
Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Initial import of AlgaPSA codebase from PSA server
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz

Source: /opt/alga-psa on psa.joliet.tech
2026-06-22 16:12:17 -05:00

131 lines
4.1 KiB
YAML

services:
postgres-playwright:
image: ankane/pgvector:latest
environment:
POSTGRES_USER: ${PLAYWRIGHT_DB_ADMIN_USER:-postgres}
POSTGRES_PASSWORD: ${PLAYWRIGHT_DB_ADMIN_PASSWORD:-postpass123}
POSTGRES_DB: postgres
ports:
- "${PLAYWRIGHT_DB_PORT:-5439}:5432"
volumes:
- playwright-postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${PLAYWRIGHT_DB_ADMIN_USER:-postgres} -d postgres"]
interval: 5s
timeout: 3s
retries: 20
redis-playwright:
image: redis:7-alpine
command: ["redis-server", "--requirepass", "${REDIS_PASSWORD:-sebastian123}"]
ports:
- "${REDIS_PORT:-16379}:6379"
volumes:
- playwright-redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "-a", "${REDIS_PASSWORD:-sebastian123}", "ping"]
interval: 5s
timeout: 3s
retries: 20
temporal-playwright:
image: temporalio/auto-setup:1.24.2
environment:
DB: postgres12
DB_PORT: "5432"
POSTGRES_SEEDS: postgres-playwright
POSTGRES_USER: ${PLAYWRIGHT_DB_ADMIN_USER:-postgres}
POSTGRES_PWD: ${PLAYWRIGHT_DB_ADMIN_PASSWORD:-postpass123}
ports:
- "${PLAYWRIGHT_TEMPORAL_PORT:-17233}:7233"
depends_on:
postgres-playwright:
condition: service_healthy
workflow-worker-playwright:
build:
context: .
dockerfile: services/workflow-worker/Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
EDITION: enterprise
APP_ENV: test
NODE_ENV: production
LOG_LEVEL: debug
WORKFLOW_WORKER_VERBOSE: "true"
WORKFLOW_WORKER_MODE: v2
WORKFLOW_RUNTIME_V2_EVENT_CONSUMER_GROUP: workflow-runtime-v2
TEMPORAL_ADDRESS: temporal-playwright:7233
TEMPORAL_NAMESPACE: default
# DB (internal docker network)
DB_TYPE: postgres
DB_HOST: postgres-playwright
DB_PORT: 5432
DB_NAME_SERVER: ${PLAYWRIGHT_DB_NAME:-alga_contract_wizard_test}
DB_USER_ADMIN: ${PLAYWRIGHT_DB_ADMIN_USER:-postgres}
DB_PASSWORD_ADMIN: ${PLAYWRIGHT_DB_ADMIN_PASSWORD:-postpass123}
DB_USER_SERVER: ${PLAYWRIGHT_DB_APP_USER:-app_user}
DB_PASSWORD_SERVER: ${PLAYWRIGHT_DB_APP_PASSWORD:-postpass123}
# Redis (internal docker network)
REDIS_HOST: redis-playwright
REDIS_PORT: 6379
REDIS_PASSWORD: ${REDIS_PASSWORD:-sebastian123}
# App/runtime
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET:-test-nextauth-secret}
SECRET_READ_CHAIN: env
SECRET_WRITE_PROVIDER: filesystem
# Workflow runtime v2 streams
WORKFLOW_DISTRIBUTED_MODE: "true"
WORKFLOW_REDIS_STREAM_PREFIX: "workflow:events:"
WORKFLOW_REDIS_CONSUMER_GROUP: "workflow-workers"
WORKFLOW_REDIS_BATCH_SIZE: "10"
WORKFLOW_REDIS_IDLE_TIMEOUT_MS: "60000"
depends_on:
postgres-playwright:
condition: service_healthy
redis-playwright:
condition: service_healthy
temporal-playwright:
condition: service_started
ports:
- "4000"
hocuspocus-playwright:
build:
context: .
dockerfile: hocuspocus/Dockerfile
environment:
NODE_ENV: development
REDIS_HOST: redis-playwright
REDIS_PORT: 6379
REDIS_PASSWORD: ${REDIS_PASSWORD:-sebastian123}
DB_HOST: postgres-playwright
DB_PORT: 5432
DB_NAME_HOCUSPOCUS: ${PLAYWRIGHT_DB_NAME:-alga_contract_wizard_test}
DB_USER_HOCUSPOCUS: ${PLAYWRIGHT_DB_ADMIN_USER:-postgres}
DB_PASSWORD_HOCUSPOCUS: ${PLAYWRIGHT_DB_ADMIN_PASSWORD:-postpass123}
HOCUSPOCUS_JWT_SECRET: ${HOCUSPOCUS_JWT_SECRET:-dev-hocuspocus-jwt-secret}
EXPOSE_HOCUSPOCUS_PORT: ${PLAYWRIGHT_HOCUSPOCUS_PORT:-1234}
PORT: 1234
depends_on:
postgres-playwright:
condition: service_healthy
redis-playwright:
condition: service_healthy
ports:
- "${PLAYWRIGHT_HOCUSPOCUS_PORT:-1234}:1234"
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:1234/health"]
interval: 5s
timeout: 5s
retries: 20
volumes:
playwright-postgres-data:
playwright-redis-data: