forked from daostack/alchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (59 loc) · 1.56 KB
/
docker-compose.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# A composition of services that are needed to run the tests of the client
# This is for DEVELOPMENT, not production
version: "3"
services:
alchemy:
build:
dockerfile: Dockerfile
context: .
links:
- graph-node
working_dir: /alchemy/
volumes:
- ./src:/alchemy/src
- ./scripts:/alchemy/scripts
- ./test:/alchemy/test
- ./package.json:/alchemy/package.json
- ./package-lock.json:/alchemy/package-lock.json
- ./webpack.base.config.js:/alchemy/webpack.base.config.js
- ./app.json:/alchemy/app.json
- ./webpack.dev.config.js:/alchemy/webpack.dev.config.js
- ./webpack.docker.config.js:/alchemy/webpack.docker.config.js
- ./entry.sh:/entry.sh
- ./config:/alchemy/config
ports:
- 3000:3000
graph-node:
image: 'graphprotocol/graph-node:v0.18.0'
ports:
- 8000:8000
- 8001:8001
- 8020:8020
links:
- ipfs
- postgres
- ganache
environment:
postgres_host: postgres:5432
postgres_user: postgres
postgres_pass: 'letmein'
postgres_db: postgres
ipfs: ipfs:5001
ethereum: private:http://ganache:8545
GRAPH_LOG: "graph.log"
GRAPH_GRAPHQL_MAX_FIRST: 1000
GRAPH_MAX_IPFS_FILE_BYTES: 900000
ipfs:
image: daostack/test-env-ipfs:3.0.42
ports:
- 5001:5001
postgres:
image: daostack/test-env-postgres:3.0.42
ports:
- 9432:5432
environment:
POSTGRES_PASSWORD: 'letmein'
ganache:
image: daostack/test-env-ganache:3.0.42
ports:
- 8545:8545