25 lines
475 B
YAML
25 lines
475 B
YAML
version: '3'
|
|
services:
|
|
bitcoin:
|
|
image: kylemanna/bitcoind
|
|
container_name: bitcoind
|
|
restart: always
|
|
volumes:
|
|
- "/bitcoin:/bitcoin/.bitcoin"
|
|
ports:
|
|
- "18332:18332"
|
|
- "18333:18333"
|
|
environment:
|
|
BITCOIN: "/bitcoin"
|
|
command:
|
|
-rpcallowip=0.0.0.0/0
|
|
-rpcbind=0.0.0.0
|
|
-rpcuser=user
|
|
-rpcpassword=password
|
|
-server=1
|
|
-wallet=wallet.dat
|
|
-disablewallet=0
|
|
volumes:
|
|
bitcoin:
|
|
driver: local
|