forked from minima-global/Minima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
65 lines (62 loc) · 1.34 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
65
version: '3.7'
networks:
minima_testnet:
name: minima_testnet
services:
minima_one:
image: minima:latest
command: -daemon -genesis -automine -noconnect -test -port 9001 -rpc 9002 -rpcenable -clean
networks:
minima_testnet:
aliases:
- minima_one
ports:
- "9001:9001"
- "9002:9002"
deploy:
resources:
limits:
cpus: '1'
memory: 500M
minima_peer:
image: minima:latest
command: -daemon -test -port 9121 -p2pnode minima_one:9001 -clean
networks:
minima_testnet:
aliases:
- minima_peer
depends_on:
- minima_one
deploy:
resources:
limits:
cpus: '1'
memory: 500M
minima_client:
image: minima:latest
command: -test -daemon -isclient -p2pnode minima_one:9001 -clean
networks:
minima_testnet:
aliases:
- minima_client
depends_on:
- minima_one
deploy:
resources:
limits:
cpus: '0.25'
memory: 300M
minima_no_p2p:
image: minima:latest
command: -test -daemon -nop2p -connect minima_one:9001 -clean
networks:
minima_testnet:
aliases:
- minima_client
depends_on:
- minima_one
deploy:
resources:
limits:
cpus: '0.5'
memory: 500M