Advertisement
irobust

Dockercompose for WebGoat

Apr 24th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. webgoat:
  5. image: webgoat/webgoat-8.0
  6. environment:
  7. - WEBWOLF_HOST=webwolf
  8. - WEBWOLF_PORT=9090
  9. ports:
  10. - "8000:8080"
  11. - "9001:9001"
  12. volumes:
  13. - webgoat-volume:/home/webgoat/.webgoat
  14. networks:
  15. - webgoat_network
  16. webwolf:
  17. image: webgoat/webwolf
  18. ports:
  19. - "9090:9090"
  20. networks:
  21. - webgoat_network
  22. command: --spring.datasource.url=jdbc:hsqldb:hsql://webgoat:9001/webgoat --server.address=0.0.0.0
  23. depends_on:
  24. - webgoat
  25. volumes:
  26. webgoat-volume:
  27. networks:
  28. webgoat_network:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement