-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 850 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 850 Bytes
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
version: "3"
services:
challenge:
image: chainflag/solidctf:1.0.0
restart: unless-stopped
ports:
- "20000:20000"
env_file:
- .env
volumes:
- ./flag.txt:/ctf/flag.txt
- ./contracts:/ctf/contracts
- ./challenge.yml:/ctf/challenge.yml
ethereum:
image: chainflag/fogeth:latest
restart: unless-stopped
container_name: fogeth
ports:
- "8545:8545"
env_file:
- .env
volumes:
- ./data:/data
- ./logs:/var/log/nginx
faucet:
image: chainflag/eth-faucet:1.1.0
restart: unless-stopped
container_name: eth_faucet
ports:
- "8080:8080"
links:
- ethereum
env_file:
- .env
command: -wallet.provider http://ethereum:8545 -wallet.privkey ${ALLOC_ADDRESS_PRIVATE_KEY} -faucet.minutes 1
depends_on:
- ethereum