Skip to content

Instantly share code, notes, and snippets.

@sondreb
Created January 9, 2019 15:12
Show Gist options
  • Save sondreb/96455edfd5ccc55a9ee0fb65fee1ca8d to your computer and use it in GitHub Desktop.
Save sondreb/96455edfd5ccc55a9ee0fb65fee1ca8d to your computer and use it in GitHub Desktop.
docker-compose for Stratis Nako Block Indexer
version: '2'
services:
nako:
container_name: stratis-nako
networks:
nakonet:
ipv4_address: 172.16.11.100
image: coinvault/nako
command: stratis
ports:
- 9040:9000
depends_on:
- mongo
- client
client:
container_name: stratis-client
networks:
nakonet:
ipv4_address: 172.16.11.101
image: stratisplatform/fullnode:StratisMain
command: ["dotnet", "run", "--", "-server=1", "-rpcallowip=172.16.11.100", "-rpcbind=172.16.11.101", "-rpcport=5000", "-rpcuser=rpcuser", "-rpcpassword=rpcpassword", "-rpcthreads=300", "-txindex=1"]
ports:
- 5040:5000
- 16178:16178
mongo:
container_name: stratis-mongo
networks:
nakonet:
ipv4_address: 172.16.11.102
image: mongo:3.2
networks:
nakonet:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.11.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment