Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. version: "3"
  2.  
  3. services:
  4. web:
  5. image: cihkem/daocity:latest
  6. ports:
  7. - "3000:3000"
  8. networks:
  9. - backend
  10. environment:
  11. DB_USER: daocity
  12. DB_PASSWORD: daocity
  13. DB_NAME: daocity
  14. DB_SERVER: mysql
  15. DB_PORT: 3306
  16. BC_SERVER: blockchain
  17. BC_PORT: 8545
  18. SMTP_HOST: mail
  19. depends_on:
  20. - blockchain
  21. - mysql
  22. - mongo
  23.  
  24. blockchain:
  25. image: trufflesuite/ganache-cli:latest
  26. networks:
  27. - backend
  28.  
  29. mysql:
  30. image: mysql:5.7
  31. ports:
  32. - 3306:3306
  33. networks:
  34. - backend
  35. environment:
  36. MYSQL_ROOT_PASSWORD: root
  37. MYSQL_USER: daocity
  38. MYSQL_PASSWORD: daocity
  39. MYSQL_DATABASE: daocity
  40.  
  41. mongo:
  42. image: mongo
  43. networks:
  44. - backend
  45. environment:
  46. MONGO_INITDB_DATABASE: daogorod
  47. volumes:
  48. - ~/.daodata/mongo:/data/db
  49. ports:
  50. - 27017:27017
  51.  
  52. mail:
  53. image: namshi/smtp
  54. volumes:
  55. - ./dkim/config:/etc/exim4/_docker_additional_macros:ro
  56. - ./dkim/domain_key.pem:/etc/exim4/domain.key:ro
  57. networks:
  58. - backend
  59.  
  60. networks:
  61. backend:
  62. driver: bridge
  63.  
  64. volumes:
  65. node_modules:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement