docker-compose.yml 544 B

1234567891011121314151617181920212223242526272829
  1. version: '2.1'
  2. networks:
  3. default:
  4. driver: bridge
  5. enable_ipv6: true
  6. ipam:
  7. driver: default
  8. config:
  9. - subnet: 2001:3984:3989::/64
  10. volumes:
  11. hackthebox:
  12. services:
  13. playground:
  14. build: .
  15. image: fphammerle/hackthebox-playground
  16. volumes:
  17. - hackthebox:/hackthebox
  18. devices:
  19. - /dev/net/tun
  20. cap_add:
  21. - NET_ADMIN
  22. # https://github.com/dperson/openvpn-client/issues/75
  23. sysctls:
  24. - net.ipv6.conf.all.disable_ipv6=0
  25. # https://docs.docker.com/compose/compose-file/compose-file-v2/