Skip to content

Instantly share code, notes, and snippets.

@sondreb
Created January 9, 2019 15:16
Show Gist options
  • Save sondreb/e5cc60847a7db0171f35852098c33e5b to your computer and use it in GitHub Desktop.
Save sondreb/e5cc60847a7db0171f35852098c33e5b to your computer and use it in GitHub Desktop.
docker-compose for City Chain Nako Block Indexer
version: '2'
services:
nako:
container_name: city-nako
networks:
nakonet:
ipv4_address: 172.16.10.100
image: coinvault/nako
command: city
ports:
- 9019:9000
depends_on:
- mongo
- client
client:
container_name: city-client
networks:
nakonet:
ipv4_address: 172.16.10.101
image: citychain/citychain
command: ["-server=1", "-rpcallowip=172.16.10.100", "-rpcbind=172.16.10.101", "-rpcport=5000", "-rpcuser=rpcuser", "-rpcpassword=rpcpassword", "-rpcthreads=300", "-txindex=1"]
ports:
- 5019:5000
- 4333:4333
mongo:
container_name: city-mongo
networks:
nakonet:
ipv4_address: 172.16.10.102
image: mongo:3.2
networks:
nakonet:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.10.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment