-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
53 lines (49 loc) · 1.21 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
version: '3'
services:
dev_container:
image: ${DOCKER_REPO}/template-dev:${COMMIT_ID:-test}-${BUILD_ENV:-dev}
container_name: dev_container
build:
context: .
dockerfile: 'docker-builds/base/Dockerfile'
args:
BUILD_ENV: 'dev'
networks:
- dev_network
volumes:
- vol_node_modules:/build/node_modules
- vol_m2_cache:/root/.m2
- ./:/build
ports:
- 3000:3000
environment:
BUILD_ENV: 'dev'
ganache:
image: 0xorg/ganache-cli:latest
container_name: ganache
networks:
- dev_network
ports:
- 8545:8545
- 8549:8549
# environment:
# CHAIN_ID: 1337
# NETWORK_ID: 1337
ipfs:
image: ipfs/go-ipfs:latest
container_name: ipfs
volumes:
- vol_ipfs_data:/data/ipfs
networks:
- dev_network
ports:
- 4001:4001/tcp
- 4001:4001/udp
- 5001:5001
- 8080:8080
networks:
dev_network:
volumes:
vol_node_modules:
vol_m2_cache:
vol_ipfs_data: