-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
86 lines (80 loc) · 1.67 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
services:
prover-backend:
build:
context: .
target: prover-backend
image: prover-backend
env_file:
- .env_prover
volumes:
- type: bind
source: .
target: /bitvmx-backend
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "8081:80"
networks:
- bitvmx-net
verifier-backend:
build:
context: .
target: verifier-backend
image: verifier-backend
env_file:
- .env_verifier
volumes:
- type: bind
source: .
target: /bitvmx-backend
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "8080:80"
networks:
- bitvmx-net
bitcoin-regtest-node:
# build:
# context: .
# target: kylemanna/bitcoind
image: kylemanna/bitcoind
ports:
- "8443:8443"
networks:
- bitvmx-net
volumes:
- type: bind
source: regtestbitcoin.conf
target: /bitcoin/.bitcoin/bitcoin.conf
# volumes:
# - type: bind
# source: ./bitcoin_data
# target: /root/.bitcoin
format:
build:
context: .
target: bitvmx-base
image: bitvmx-base
volumes:
- type: bind
source: .
target: /bitvmx-backend
entrypoint: sh -c "black --config .black . && ruff check --fix"
flake8:
image: bitvmx-base
volumes:
- type: bind
source: ./
target: /bitvmx-backend
read_only: true
entrypoint: flake8
black:
image: bitvmx-base
volumes:
- type: bind
source: ./
target: /bitvmx-backend
read_only: true
entrypoint: black --config .black --check --diff .
networks:
bitvmx-net: