forked from bitcoin-sv/block-headers-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (24 loc) · 835 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (24 loc) · 835 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
# A docker-compose file for testing the App in docker and the local environment:
version: "3.7"
services:
headersv:
image: headersv
build:
context: .
volumes:
- headersv-data:/tmp/jcl
environment:
#bsv-mainnet | bsv-testnet | bsv-stnnet | bsv-regtest
- SPRING_PROFILES_ACTIVE=bsv-mainnet
#HeaderSV Application Configuration - Other properties can be found in src/main/resources/application-bsv-xxx.yml
# - HEADERSV_NETWORK_MINPEERS=15
# - HEADERSV_NETWORK_MAXPEERS=25
# - HEADERSV_NETWORK_PEERS=127.0.0.1
# - HEADERSV_NETWORK_PORT:18444
# - HEADERSV_NETWORK_DISCOVERYENABLED=false
- _JAVA_OPTIONS=-XX:+UseContainerSupport -XX:MaxRAMPercentage=25 -Dlogging.level.ROOT=INFO
ports:
- "8001:8080"
volumes:
headersv-data:
external: false