docker-compose.yml 399 B

1234567891011121314151617181920
  1. version: '2.1'
  2. volumes:
  3. hackthebox:
  4. services:
  5. playground:
  6. build: .
  7. image: fphammerle/hackthebox-playground
  8. volumes:
  9. - hackthebox:/hackthebox
  10. devices:
  11. - /dev/net/tun
  12. cap_add:
  13. - NET_ADMIN
  14. # https://github.com/dperson/openvpn-client/issues/75
  15. sysctls:
  16. - net.ipv6.conf.all.disable_ipv6=0
  17. # https://docs.docker.com/compose/compose-file/compose-file-v2/