forked from OffchainLabs/arbitrum-token-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.ci.yml
41 lines (38 loc) · 1.18 KB
/
docker-compose.ci.yml
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
37
38
39
40
41
version: "3.9"
services:
synpress:
container_name: synpress-test
build: .
environment:
- DISPLAY=display:0.0
- PRIVATE_KEY=${PRIVATE_KEY}
- DEBUG=${DEBUG}
- CYPRESS_DOCKER_RUN=true
- NEXT_PUBLIC_LOCAL_ETHEREUM_RPC_URL=http://geth:8545
- NEXT_PUBLIC_LOCAL_ARBITRUM_RPC_URL=http://sequencer:8547
- CI=${CI}
depends_on:
- display
entrypoint: []
working_dir: /app
volumes:
- ./docker/videos:/app/tests/e2e/videos
- ./docker/screenshots:/app/tests/e2e/screenshots
command: >
bash -c 'echo -n "======> local noVNC URL: http://localhost:8080/vnc.html?autoconnect=true " && npx wait-on http://display:8080 && echo -n "======> remote noVNC URL: " && curl -s ngrok:4040/api/tunnels | jq -r .tunnels[0].public_url && npm run test:ci:e2e'
networks:
- nitro_default
display:
container_name: display
image: synthetixio/display:016121eafdfff448414894d0ca5a50b1d72b62eb-base
environment:
- RUN_XTERM=no
- DISPLAY_WIDTH=${DISPLAY_WIDTH}
- DISPLAY_HEIGHT=${DISPLAY_HEIGHT}
ports:
- "8080:8080"
networks:
- nitro_default
networks:
nitro_default:
external: true