Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- iroha:
- image: hyperledger/iroha:snapshot_rc3-ba69aa1
- ports:
- - "50051:50051"
- - "10001:10001"
- environment:
- - POSTGRES_HOST=postgres
- - POSTGRES_PORT=5432
- - POSTGRES_USER=postgres
- - POSTGRES_PASSWORD=mysecretpassword
- - KEY=node0
- depends_on:
- - postgres
- volumes:
- - /home/nyushkevich/15-peer-deploy:/opt/iroha_data
- - blockstore:/tmp/block_store
- labels:
- - filebeat.module=docker
- - filebeat.fields.app=iroha
- - filebeat.fields.project=iroha
- - filebeat.fields.env=dev
- - filebeat.fields.logtype=iroha
- postgres:
- image: postgres:9.5
- ports:
- - "5432:5432"
- environment:
- - POSTGRES_USER=postgres
- - POSTGRES_PASSWORD=mysecretpassword
- volumes:
- - /opt/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
- labels:
- - filebeat.module=docker
- - filebeat.fields.app=postgres
- - filebeat.fields.project=iroha
- - filebeat.fields.env=dev
- - filebeat.fields.logtype=postgres
- command: -c max_prepared_transactions=100 -c log_line_prefix="%m [%p]" -c log_min_duration_statement=3000
- volumes:
- blockstore:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement