-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
61 lines (57 loc) · 1.64 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
version: '3'
services:
ganache:
# FIXME: ganache_1 | Error: EXDEV: cross-device link not permitted, rename '/tmp/tmp-1g6J0UVLVMW56' -> '/ganache/!trie_db!0x41c488877f4bd7f076e7a46574f86eb2e58bb101aad9fd4da0dbf9b60ec8c949'
image: trufflesuite/ganache-cli:v6.12.2
# need v6.9.1 as v6.7.0 doesn't support the CHAINID opcode!
# image: trufflesuite/ganache-cli:v6.7.0
volumes:
- "${PWD}/docker/data:/ganache:rw"
user: "1000:1000"
network_mode: host
command:
- "--accounts"
- "20"
- "--defaultBalanceEther"
- "10000"
- "--mnemonic"
- "${XBR_HDWALLET_SEED}"
- "--gasLimit"
- "10000000"
- "--gasPrice"
- "8000000000"
- "--port"
- "1545"
- "--networkId"
- "5777"
- "--db"
- "/ganache"
ganache_xbr:
image: crossbario/crossbarfx-blockchain:latest
#restart: always
network_mode: host
#ports:
# - "1545:1545"
truffle:
depends_on:
- ganache
image: crossbario/truffle
build:
context: docker
command: bash
stdin_open: true
tty: true
network_mode: host
volumes:
- ./:/code:rw
crossbar:
depends_on:
- ganache
image: crossbario/crossbarfx:latest
# UID:GID => id -u, id -g
user: "1000:1000"
network_mode: host
#ports:
# - "8080:8080"
volumes:
- "${PWD}/teststack/crossbar:/node"