Advertisement
Guest User

Untitled

a guest
Oct 5th, 2017
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. version: '2.1'
  2.  
  3. networks:
  4. chainpoint-node:
  5. driver: bridge
  6.  
  7. services:
  8.  
  9. postgres:
  10. image: postgres:9.6.5-alpine
  11. container_name: postgres-node
  12. restart: always
  13. # opens it up to the world!! Bad idea!!
  14. # ports:
  15. # - "5433:5432"
  16. networks:
  17. - chainpoint-node
  18. volumes:
  19. - ./.data/postgresql:/var/lib/postgresql/data
  20. environment:
  21. POSTGRES_USER: chainpoint
  22. POSTGRES_PASSWORD: chainpoint
  23.  
  24. redis:
  25. image: redis:4.0.1-alpine
  26. container_name: redis-node
  27. restart: always
  28. # opens it up to the world!! Bad idea!!
  29. # ports:
  30. # - "6380:6379"
  31. networks:
  32. - chainpoint-node
  33. volumes:
  34. - ./.redis/redis.conf:/usr/local/etc/redis/redis.conf:ro
  35. - ./.data/redis:/data
  36. command:
  37. - redis-server
  38. - /usr/local/etc/redis/redis.conf
  39.  
  40. chainpoint-node:
  41. image: quay.io/chainpoint/chainpoint-node:cbce6251d9b669bb0748c8d7e26ef6f9834935ed
  42. container_name: chainpoint-node
  43. restart: on-failure
  44. ports:
  45. - "60:8080"
  46. networks:
  47. - chainpoint-node
  48. depends_on:
  49. - redis
  50. - postgres
  51. environment:
  52. NODE_TNT_ADDRESS: ${NODE_TNT_ADDRESS}
  53. CHAINPOINT_NODE_PUBLIC_URI: "${CHAINPOINT_NODE_PUBLIC_URI:-http://0.0.0.0}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement