-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (42 loc) · 1.07 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
version: "3"
services:
bitcoind:
build:
context: "."
dockerfile: "./docker/bitcoind/Dockerfile"
command: ["-rpcallowip=0.0.0.0/0", "-rest"]
env_file:
- "./.env"
expose:
- "${BITCOIN_PORT}"
- "${BITCOIN_RPC_PORT}"
hostname: "watcoin:bitcoind"
image: "watcoin:bitcoind"
restart: "always"
volumes:
- "./data/bitcoind:/data"
cpuminer:
build:
context: "."
dockerfile: "./docker/cpuminer/Dockerfile"
depends_on:
- "bitcoind"
env_file:
- "./.env"
hostname: "watcoin:cpuminer"
image: "watcoin:cpuminer"
restart: "always"
qt:
build:
context: "."
dockerfile: "./docker/qt/Dockerfile"
env_file:
- "./.env"
expose:
- "${BITCOIN_PORT}"
- "${BITCOIN_RPC_PORT}"
hostname: "watcoin:qt"
image: "watcoin:qt"
volumes:
- "./data/qt:/data"
- "/tmp/.X11-unix:/tmp/.X11-unix"