-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml.sample
More file actions
63 lines (57 loc) · 1.6 KB
/
docker-compose.yml.sample
File metadata and controls
63 lines (57 loc) · 1.6 KB
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
services:
ltc-testnet4-litecoind:
container_name: ltc-testnet4-litecoind
image: btcpayserver/litecoin:0.21.2.1-2
volumes:
- ./litecoind/data:/data
command:
[
"litecoind",
"-testnet=1",
"-server=1",
"-rpcuser=admin",
"-rpcpassword=admin",
"-rpcallowip=172.0.0.0/8",
"-rpcport=19332",
"-rpcbind=0.0.0.0",
"-zmqpubrawtx=tcp://0.0.0.0:29332",
"-zmqpubrawblock=tcp://0.0.0.0:29332",
"-dbcache=512",
"-prune=550",
"-checkblocks=6"
]
restart: unless-stopped
ltc-testnet4-stratum:
container_name: ltc-testnet4-stratum
build:
context: ./anypool-stratum
dockerfile: Dockerfile
ports:
- "3333:3333"
environment:
- RPC_HOST=ltc-testnet4-litecoind
- RPC_PORT=19332
- RPC_USER=admin
- RPC_PASS=admin
- REWARD_ADDR=<Your LTC testnet addr (native segwit)>
- COINBASE_MESSAGE=/AnyPool by VU Kaunas faculty/
- POOL_DIFFICULTY=2048
- POLL_DIFF_DROPPER=False
- DEBUG=False
restart: unless-stopped
# OPTIONAL: If you want to mine with your external miner, comment this section out.
ltc-testnet4-miner:
container_name: ltc-testnet4-advanced-miner
image: fabriziogaliano/docker-cpuminer:v1.0.0
command: [
"--algo", "scrypt",
"--url", "stratum+tcp://ltc-testnet4-stratum:3333",
"--user", "testminer.worker1",
"--pass", "x",
"--threads", "4",
"--retry-pause", "5",
"--timeout", "60",
"--debug",
"--protocol-dump"
]
restart: unless-stopped