You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.7 KiB
YAML

# [Nano](https://nano.org/) is a digital payment protocol designed to be
# accessible and lightweight, with a focus on removing inefficiencies present in
# other cryptocurrencies. With ultrafast transactions and zero fees on a secure,
# green and decentralized network, this makes Nano ideal for everyday
# transactions.
---
version: "2.1"
services:
nano:
image: ghcr.io/linuxserver/nano
container_name: nano
environment:
# for UserID
- PUID=${PUID:-1024}
# for GroupID
- PGID=${PGID:-100}
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
- TZ=${TZ:-Europe/Amsterdam}
# Default peer host (can be overidden with an array by command line options)
- PEER_HOST=localhost # optional
# Genesis block public key
- LIVE_GENESIS_PUB=GENESIS_PUBLIC # optional
# Genesis block account
- LIVE_GENESIS_ACCOUNT=nano_xxxxxx # optional
# Genesis block proof of work
- LIVE_GENESIS_WORK=WORK_FOR_BLOCK # optional
# Genesis block signature
- LIVE_GENESIS_SIG=BLOCK_SIGNATURE # optional
# Node run command cli args
- CLI_OPTIONS=--config node.enable_voting=true # optional
# HTTP/HTTPS endpoint to download a 7z file with the data.ldb to bootstrap to this node
- LMDB_BOOTSTRAP_URL=http://example.com/Nano_64_version_20.7z # optional
volumes:
# Main storage for config and blockchain
- ${BASEDIR:-/volume1/docker}/nano/config:/config
ports:
# Nano communication port
- 8075:8075
# RPC interface filtered through a proxy
- 7076:3000
# Https RPC interface filtered through a proxy
- 7077:3001
restart: unless-stopped