forked from Devdave-0x/stellar-trust-escrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
36 lines (34 loc) · 819 Bytes
/
Copy pathdocker-compose.test.yml
File metadata and controls
36 lines (34 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
services:
app:
build:
context: .
dockerfile: Dockerfile
target: frontend
args:
NEXT_PUBLIC_API_URL: http://localhost:4000
environment:
NODE_ENV: test
healthcheck:
test: ['CMD-SHELL', 'wget -qO- http://localhost:3000 >/dev/null 2>&1 || exit 1']
interval: 5s
retries: 12
start_period: 20s
toxiproxy:
image: ghcr.io/shopify/toxiproxy:2.9.0
ports:
- '8474:8474'
- '3001:3001'
depends_on:
app:
condition: service_healthy
playwright:
image: mcr.microsoft.com/playwright:v1.44.0-jammy
working_dir: /workspace
volumes:
- .:/workspace
environment:
BASE_URL: http://toxiproxy:3001
CI: 'true'
PLAYWRIGHT_BASE_URL: http://toxiproxy:3001
depends_on:
- toxiproxy