forked from crossbario/crossbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (33 loc) · 1.06 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
version: '3'
services:
ganache:
# https://github.com/trufflesuite/ganache-cli/issues/593
# image: crossbario/crossbarfx-blockchain:latest
image: trufflesuite/ganache-cli:v6.2.4
# UID:GID => id -u, id -g
# user: "1000:1000"
# network_mode: host
ports:
- "1545:1545"
volumes:
# mount a data location from the host into the container - read-write
- "${PWD}/test/ganache/.data:/ganache:rw"
command:
# https://github.com/trufflesuite/ganache-cli#using-ganache-cli
- "--accounts"
- "15"
- "--defaultBalanceEther"
- "1000"
# - "--deterministic"
- "--mnemonic"
- "myth like bonus scare over problem client lizard pioneer submit female collect"
- "--gasLimit"
- "0xfffffffffff"
- "--gasPrice"
- "1"
- "--port"
- "1545"
- "--networkId"
- "5777"
- "--db"
- "/ganache"