-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
52 lines (49 loc) · 1.19 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
version: "3.3"
services:
geth:
image: realwrap_geth
container_name: ethereum
restart: unless-stopped
entrypoint:
- /bin/sh
- -c
- "/entrypoint.sh"
ports:
- "8545:8545"
volumes:
- ./chaindata:/chaindata
- ./genesis.json:/genesis.json
- ./geth_entrypoint.sh:/entrypoint.sh
faucet:
image: chainflag/eth-faucet:1.1.0
container_name: ethfaucet
restart: unless-stopped
ports:
- "8080:8080"
links:
- geth
volumes:
- ./chaindata/keystore:/app/keystore
- ./chaindata/password.txt:/app/password.txt
command: -wallet.provider http://geth:8545 -wallet.keyjson /app/keystore -wallet.keypass /app/password.txt -faucet.amount 2
depends_on:
- geth
challenge:
image: chainflag/solidctf:1.0.0
container_name: realwrap
restart: unless-stopped
ports:
- "20000:20000"
links:
- geth
environment:
- WEB3_PROVIDER_URI=http://geth:8545
volumes:
- ./flag.txt:/ctf/flag.txt
- ./contracts:/ctf/contracts
- ./challenge.yml:/ctf/challenge.yml
- ./brownie-config.yaml:/ctf/brownie-config.yaml
depends_on:
- geth
networks:
default: