Files
trezor-suite/docker/docker-compose.suite-ci-e2e.yml
Martin Vere Cihlar 222d17e0fd test(e2e-suite): Switch suite sync tests to local relay
-new docker services in docker compose for e2e tests (quota-db, suite-sync)
-new method and locators for configuring quota manager
-minor refactor of docker param in wf
-tmp disables incompatible suite-sync test until test implementation is done
2026-01-28 08:41:26 +01:00

52 lines
1.3 KiB
YAML

services:
trezor-user-env-unix:
image: ghcr.io/trezor/trezor-user-env:332cf33507d83298ed911000c6928143a18112c5
environment:
- SDL_VIDEODRIVER=dummy
- XDG_RUNTIME_DIR=/var/tmp
network_mode: host
volumes:
- ./trezor-user-env-logs:/trezor-user-env/logs
bitcoin-regtest:
image: ghcr.io/trezor/trezor-user-env-regtest # this is a special image that runs regtest and blockbook
depends_on:
- trezor-user-env-unix
network_mode: service:trezor-user-env-unix
electrum-regtest:
image: ghcr.io/trezor/electrs:latest
ports:
- "50001:50001"
quota-db:
image: postgres
environment:
POSTGRES_USER: suite-sync
POSTGRES_PASSWORD: password
POSTGRES_DB: suite-sync-gate
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U suite-sync -d suite-sync-gate"]
interval: 5s
timeout: 5s
retries: 5
suite-sync:
image: ghcr.io/trezor/suite-sync:main
environment:
POSTGRES_GATE_USER: suite-sync
POSTGRES_GATE_PASSWORD: password
POSTGRES_GATE_HOST: quota-db
POSTGRES_GATE_PORT: 5432
POSTGRES_GATE_DB: suite-sync-gate
SERVER_ENV: dev
ports:
- "4000:4000"
- "4001:4001"
- "4002:4002"
depends_on:
quota-db:
condition: service_healthy