docker-compose.yml 556 B

1234567891011121314151617181920212223242526272829303132
  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. - ./:/opt/honeypot/:rw,delegated
  17. command: /lib/systemd/systemd
  18. networks:
  19. honeypot:
  20. ipv4_address: 192.168.22.33
  21. networks:
  22. honeypot:
  23. driver: bridge
  24. driver_opts:
  25. ip: 192.168.22.1
  26. ipam:
  27. config:
  28. - subnet: "192.168.22.0/16"