-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.react
47 lines (45 loc) · 1.1 KB
/
docker-compose.yml.react
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
42
43
44
45
46
47
version: '3.4'
services:
dev-server:
image: reachsh/react-runner:0.1
volumes:
- .:/app/src
ports:
- "3000:3000"
stdin_open: true
tty: true
environment:
- REACH_DEBUG
- REACH_CONNECTOR_MODE
- REACH_ISOLATED_NETWORK
- REACT_APP_REACH_DEBUG=
- REACT_APP_REACH_CONNECTOR_MODE=ETH-browser
- REACT_APP_REACH_ISOLATED_NETWORK=
# Does not technically depend on ethereum-devnet.
# This is just to get it to run both.
depends_on:
- ethereum-devnet
ethereum-devnet:
image: reachsh/ethereum-devnet:0.1
ports:
- '8545:8545'
algorand-devnet:
image: reachsh/algorand-devnet:0.1
depends_on:
- algorand-postgres-db
environment:
- REACH_DEBUG
- POSTGRES_HOST=algorand-postgres-db
- POSTGRES_USER=algogrand
- POSTGRES_PASSWORD=indexer
- POSTGRES_DB=pgdb
ports:
- '4180:4180'
- '8980:8980'
- '9392:9392'
algorand-postgres-db:
image: postgres:11-alpine
environment:
- POSTGRES_USER=algogrand
- POSTGRES_PASSWORD=indexer
- POSTGRES_DB=pgdb