compose.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. services:
  2. node:
  3. image: mcr.microsoft.com/devcontainers/base:ubuntu
  4. volumes:
  5. - ..:/workspace/growi:delegated
  6. - pnpm-store:/workspace/growi/.pnpm-store
  7. - node_modules:/workspace/growi/node_modules
  8. - buildcache_app:/workspace/growi/apps/app/.next
  9. - ../../growi-docker-compose:/workspace/growi-docker-compose:delegated
  10. tty: true
  11. mongo:
  12. image: mongo:6.0
  13. restart: unless-stopped
  14. ports:
  15. - 27017
  16. volumes:
  17. - /data/db
  18. # This container requires '../../growi-docker-compose' repository
  19. # cloned from https://github.com/weseek/growi-docker-compose.git
  20. elasticsearch:
  21. build:
  22. context: ../../growi-docker-compose/elasticsearch/v8
  23. dockerfile: ./Dockerfile
  24. args:
  25. - version=8.7.0
  26. restart: unless-stopped
  27. ports:
  28. - 9200
  29. environment:
  30. - bootstrap.memory_lock=true
  31. - "ES_JAVA_OPTS=-Xms256m -Xmx256m"
  32. - LOG4J_FORMAT_MSG_NO_LOOKUPS=true # CVE-2021-44228 mitigation for Elasticsearch <= 6.8.20/7.16.0
  33. ulimits:
  34. memlock:
  35. soft: -1
  36. hard: -1
  37. volumes:
  38. - /usr/share/elasticsearch/data
  39. - ../../growi-docker-compose/elasticsearch/v8/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
  40. volumes:
  41. pnpm-store:
  42. node_modules:
  43. buildcache_app: