forked from daostack/alchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
88 lines (79 loc) · 1.99 KB
/
docker-compose.yml
File metadata and controls
88 lines (79 loc) · 1.99 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# 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:
- alchemy-server
- 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
alchemy-server:
build:
context: ./docker/alchemy-server
links:
- postgres
- redis
ports:
- 3001:3001
working_dir: /alchemy-server/
environment:
WAIT_HOSTS: postgres:5432
REDIS_URL: redis://cache
postgres:
build:
context: ./docker/postgres/
redis:
image: redis
container_name: cache
expose:
- 6379
graph-node:
image: 'graphprotocol/graph-node:v0.15.1'
ports:
- 8000:8000
- 8001:8001
- 8020:8020
links:
- ipfs
- postgres4graphnode
- ganache
environment:
postgres_host: postgres4graphnode: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
ipfs:
image: daostack/subgraph-ipfs:0.0.1-rc.33-v1-3.0.17
ports:
- 5001:5001
postgres4graphnode:
image: daostack/subgraph-postgres:0.0.1-rc.33-v1-3.0.17
ports:
- 9432:5432
environment:
POSTGRES_PASSWORD: 'letmein'
ganache:
image: daostack/test-env:0.0.1-rc.33-v1-3.0.17
ports:
- 8545:8545