Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. iroha:
  5. image: hyperledger/iroha:snapshot_rc3-ba69aa1
  6. ports:
  7. - "50051:50051"
  8. - "10001:10001"
  9. environment:
  10. - POSTGRES_HOST=postgres
  11. - POSTGRES_PORT=5432
  12. - POSTGRES_USER=postgres
  13. - POSTGRES_PASSWORD=mysecretpassword
  14. - KEY=node0
  15. depends_on:
  16. - postgres
  17. volumes:
  18. - /home/nyushkevich/15-peer-deploy:/opt/iroha_data
  19. - blockstore:/tmp/block_store
  20. labels:
  21. - filebeat.module=docker
  22. - filebeat.fields.app=iroha
  23. - filebeat.fields.project=iroha
  24. - filebeat.fields.env=dev
  25. - filebeat.fields.logtype=iroha
  26.  
  27. postgres:
  28. image: postgres:9.5
  29. ports:
  30. - "5432:5432"
  31. environment:
  32. - POSTGRES_USER=postgres
  33. - POSTGRES_PASSWORD=mysecretpassword
  34. volumes:
  35. - /opt/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
  36. labels:
  37. - filebeat.module=docker
  38. - filebeat.fields.app=postgres
  39. - filebeat.fields.project=iroha
  40. - filebeat.fields.env=dev
  41. - filebeat.fields.logtype=postgres
  42. command: -c max_prepared_transactions=100 -c log_line_prefix="%m [%p]" -c log_min_duration_statement=3000
  43.  
  44. volumes:
  45. blockstore:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement