Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

59 linhas
1.7KB

  1. version: '2'
  2. services:
  3. drupal-project-mysql:
  4. container_name: drupal-project-mysql
  5. image: mysql:5.6
  6. environment:
  7. MYSQL_ROOT_PASSWORD: root
  8. MYSQL_DATABASE: drupal
  9. MYSQL_USER: mysql
  10. MYSQL_PASSWORD: mysql
  11. volumes:
  12. - ../sites-databases/drupal-project:/var/lib/mysql
  13. networks:
  14. - dockercompose
  15. command: mysqld --max_allowed_packet=64M
  16. restart: always
  17. drupal-project:
  18. container_name: drupal-project
  19. image: codekoalas/drupal8:permissionsFix
  20. environment:
  21. VIRTUAL_HOST: .drupal-project.localhost
  22. #GIT_HOSTS: "IP url" it was hard coded to our internal gitlab removed for safety
  23. GIT_REPO: https://github.com/fabean/drupal-project.git
  24. GIT_BRANCH: 8.x
  25. MYSQL_SERVER: mysql
  26. MYSQL_DATABASE: drupal
  27. MYSQL_USER: mysql
  28. MYSQL_PASSWORD: mysql
  29. DRUPAL_BASE_URL: http://drupal-project.localhost
  30. DRUPAL_TRUSTED_HOSTS: drupal-project\.localhost$$
  31. DRUPAL_HTTPS: "off"
  32. APACHE_DOCROOT: /var/www/site/docroot
  33. PRODUCTION: "false"
  34. #SESMailHub: mail-relay.ckdev.io
  35. #LOCAL: "true"
  36. volumes:
  37. - ../sites-files/drupal-project:/mnt/site-files
  38. - ./:/var/www/site
  39. #- drupal-project-files-sync:/mnt/sites-files
  40. #- drupal-project-sync:/var/www/site
  41. networks:
  42. - dockercompose
  43. links:
  44. - drupal-project-mysql:mysql
  45. # extra_hosts:
  46. #- "xdebug:192.168.237.237"
  47. restart: always
  48. networks:
  49. dockercompose:
  50. external:
  51. name: dockercompose_dockercompose
  52. #volumes:
  53. # drupal-project-sync:
  54. # external: true
  55. # drupal-project-files-sync:
  56. # external: true
  57. # drupal-project-mysql-sync:
  58. # external: true