Guest User

Untitled

a guest
Oct 13th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. version: "3.7"
  2.  
  3. services:
  4. app:
  5. build: ./app
  6. command: bash -c "npm run start:docker"
  7. depends_on:
  8. - splunk
  9. environment:
  10. - NODE_ENV=development
  11. - SERVER_PORT=8080
  12. logging:
  13. driver: splunk
  14. options:
  15. splunk-format: "json"
  16. splunk-insecureskipverify: "true"
  17. splunk-source: "app"
  18. splunk-token: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
  19. splunk-url: "http://splunk:8088"
  20. tag: "{{.ImageName}}/{{.Name}}/{{.ID}}"
  21. ports:
  22. - "80:8080"
  23. volumes:
  24. - "./app:/usr/src/app"
  25.  
  26. splunk:
  27. environment:
  28. - SPLUNK_ENABLE_LISTEN=9997
  29. - SPLUNK_START_ARGS=--accept-license --no-prompt --answer-yes
  30. - SPLUNK_USERNAME=admin
  31. - SPLUNK_PASSWORD=password
  32. hostname: splunk
  33. image: splunk/splunk:7.2.0
  34. ports:
  35. - "8000:8000"
  36. - "8088:8088"
  37. - "9997:9997"
  38. restart: always
Add Comment
Please, Sign In to add comment