You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

54 lines
1.3 KiB

  1. version: '3.4'
  2. services:
  3. eventstore.db:
  4. image: eventstore/eventstore:release-5.0.8
  5. environment:
  6. - EVENTSTORE_CLUSTER_SIZE=1
  7. - EVENTSTORE_RUN_PROJECTIONS=All
  8. - EVENTSTORE_START_STANDARD_PROJECTIONS=True
  9. - EVENTSTORE_DB=/var/lib/eventstore-data
  10. - EVENTSTORE_INDEX=/var/lib/eventstore-index
  11. - EVENTSTORE_LOG=/var/log/eventstore
  12. - EVENTSTORE_EXT_TCP_PORT=1113
  13. - EVENTSTORE_EXT_HTTP_PORT=2113
  14. - EVENTSTORE_INT_IP=192.168.33.10
  15. - EVENTSTORE_EXT_IP=192.168.33.10
  16. ports:
  17. - "1113:1113"
  18. - "2113:2113"
  19. volumes:
  20. - type: volume
  21. source: eventstore-volume-data
  22. target: /var/lib/eventstore-data
  23. - type: volume
  24. source: eventstore-volume-index
  25. target: /var/lib/eventstore-index
  26. - type: volume
  27. source: eventstore-volume-logs
  28. target: /var/log/eventstore
  29. networks:
  30. app_net:
  31. ipv4_address: 192.168.33.10
  32. nodejs:
  33. image: node:14
  34. working_dir: /var/code
  35. volumes:
  36. - .:/var/code
  37. - /var/code/node_modules
  38. command: bash -c "tail -f /dev/null"
  39. networks:
  40. - app_net
  41. volumes:
  42. eventstore-volume-data:
  43. eventstore-volume-index:
  44. eventstore-volume-logs:
  45. networks:
  46. app_net:
  47. ipam:
  48. driver: default
  49. config:
  50. - subnet: "192.168.33.0/24"