23 lines
733 B
YAML
23 lines
733 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
rincoin-node:
|
|
container_name: rincoin-node
|
|
# Builds from the RinCoin repo (expects a Dockerfile there).
|
|
build:
|
|
context: https://github.com/Rin-coin/rincoin.git
|
|
dockerfile: Dockerfile
|
|
restart: unless-stopped
|
|
ports:
|
|
- "9555:9555" # P2P
|
|
- "9556:9556" # RPC
|
|
volumes:
|
|
# Absolute paths recommended. Update to where you want node data stored.
|
|
- /mnt/data/docker_vol/rincoin/rincoin-node/data:/data
|
|
# Provide your config at this exact path on host:
|
|
- /mnt/data/docker_vol/rincoin/rincoin-node/rincoin.conf:/data/rincoin.conf:ro
|
|
command:
|
|
- rincoind
|
|
- -datadir=/data
|
|
- -conf=/data/rincoin.conf
|
|
- -printtoconsole |