docker-compose.yml 663 B

12345678910111213141516171819202122232425262728293031323334
  1. version: "3"
  2. services:
  3. honeypot:
  4. image: geerlingguy/drupal-vm
  5. container_name: honeypot
  6. ports:
  7. - 80:80
  8. - 443:443
  9. privileged: true
  10. extra_hosts:
  11. local.drupalhoneypot.com: 127.0.0.1
  12. dns:
  13. - 8.8.8.8
  14. - 8.8.4.4
  15. volumes:
  16. # Switch to the commented line once Docker CE stable has the feature.
  17. - ./:/opt/honeypot/:rw
  18. # - ./:/opt/honeypot/:rw,delegated
  19. command: /lib/systemd/systemd
  20. networks:
  21. honeypot:
  22. ipv4_address: 192.168.22.33
  23. networks:
  24. honeypot:
  25. driver: bridge
  26. driver_opts:
  27. ip: 192.168.22.1
  28. ipam:
  29. config:
  30. - subnet: "192.168.22.0/16"