You are here

docker-compose.yml in Honeypot 8

Same filename and directory in other branches
  1. 7 docker-compose.yml
  2. 2.0.x docker-compose.yml

File

docker-compose.yml
View source
  1. version: "3"
  2. services:
  3. drupal:
  4. image: geerlingguy/drupal
  5. container_name: honeypot
  6. environment:
  7. DRUPAL_DATABASE_HOST: 'mysql'
  8. DRUPAL_DATABASE_PORT: '3306'
  9. DRUPAL_DATABASE_NAME: 'drupal'
  10. DRUPAL_DATABASE_USERNAME: 'drupal'
  11. DRUPAL_DATABASE_PASSWORD: 'drupal'
  12. DRUPAL_HASH_SALT: 'fe918c992fb1bcfa01f32303c8b21f3d0a0'
  13. DRUPAL_DOWNLOAD_IF_NOT_PRESENT: 'true'
  14. DRUPAL_DOWNLOAD_METHOD: 'composer'
  15. DRUPAL_PROJECT_ROOT: /var/www/html
  16. APACHE_DOCUMENT_ROOT: /var/www/html/web
  17. COMPOSER_MEMORY_LIMIT: '-1'
  18. ports:
  19. - "80:80"
  20. restart: always
  21. volumes:
  22. - ./:/opt/honeypot/:rw,delegated
  23. mysql:
  24. image: mysql:5.7
  25. container_name: drupal-mysql
  26. command: ['--max_allowed_packet=32505856']
  27. environment:
  28. MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
  29. MYSQL_DATABASE: drupal
  30. MYSQL_USER: drupal
  31. MYSQL_PASSWORD: drupal
  32. ports:
  33. - "3306:3306"
  34. volumes:
  35. - /var/lib/mysql