Advertisement
Guest User

Untitled

a guest
Apr 4th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. version: '3'
  2. services:
  3. # search engine
  4. elasticsearch:
  5. image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.7.0
  6. container_name: elasticsearch
  7. restart: unless-stopped
  8. environment:
  9. - ELASTIC_PASSWORD=`changeme`
  10. entrypoint:
  11. - elasticsearch
  12. - -Ehttp.port=9200
  13. - -Ehttp.cors.enabled=true
  14. - -Ehttp.cors.allow-origin=http://localhost:1358
  15. - -Ehttp.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
  16. - -Ehttp.cors.allow-credentials=true
  17. user: elasticsearch
  18. volumes:
  19. - $PWD/elasticsearch/data:/usr/share/elasticsearch/data
  20. ports:
  21. - "9200:9200"
  22. # elasticsearch browser
  23. dejavu:
  24. image: appbaseio/dejavu:3.2.3
  25. container_name: dejavu
  26. restart: unless-stopped
  27. ports:
  28. - "1358:1358"
  29. links:
  30. - elasticsearch
  31.  
  32. #Volumes
  33. volumes:
  34. dbdata:
  35. driver: local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement