docker-compose.yml 573 B

123456789101112131415161718192021222324252627282930313233
  1. version: "3.7"
  2. name: bpmn-server
  3. services:
  4. bpmn-web:
  5. image: ralphhanna/bpmn-web
  6. command: sh -c "
  7. npm run setup &&
  8. npm run start"
  9. ports:
  10. - 3000:3000
  11. volumes:
  12. - 'app:/app'
  13. depends_on:
  14. - mongo
  15. mongo:
  16. image: mongo
  17. ports:
  18. - 27017:27017
  19. volumes:
  20. - mongodb:/data/db
  21. volumes:
  22. mongodb:
  23. driver: local
  24. driver_opts:
  25. type: 'none'
  26. o: 'bind'
  27. device: './mongodb_volume'
  28. app:
  29. driver: local
  30. driver_opts:
  31. type: 'none'
  32. o: 'bind'
  33. device: './bpmn_server_volume'