You are here

docker-compose.yml in Config Filter 8.2

Same filename and directory in other branches
  1. 8 docker-compose.yml

File

docker-compose.yml
View source
  1. version: "3.1"
  2. services:
  3. # More info at https://github.com/wodby/php
  4. drupal:
  5. image: wodby/php:${PHP_TAG-7.3-dev}
  6. command: composer webserver
  7. environment:
  8. # We set the composer variable so that composer uses the dev file. The drupal CI can not deal with having drupal as a dev-dependency.
  9. COMPOSER: composer.dev.json
  10. PHP_SENDMAIL_PATH: /dev/null
  11. COLUMNS: ${COLUMNS-80} # Set 80 columns for docker exec -it.
  12. ## Read instructions at https://wodby.com/docs/stacks/drupal/local/#debugging-cli-requests
  13. # The line below is commented out because the mere presence of that env variable loads XDebug regardless of the value.
  14. # Enable XDebug when you `up` your container: PHP_XDEBUG=1 docker-compose up -d
  15. # PHP_XDEBUG:
  16. PHP_XDEBUG_DEFAULT_ENABLE:
  17. PHP_IDE_CONFIG:
  18. PHP_XDEBUG_REMOTE_HOST:
  19. PHP_XDEBUG_REMOTE_CONNECT_BACK:
  20. # Specify 'drupal' instead of 127.0.0.1 so that chrome service can reach it.
  21. SIMPLETEST_BASE_URL: http://drupal:8888
  22. SIMPLETEST_DB:
  23. volumes:
  24. - ./:/var/www/html:cached
  25. - ./.docker/zz-php.ini:/usr/local/etc/php/conf.d/zz-php.ini
  26. # ports:
  27. # - '${WEB_PORT-8889}:8888'
  28. # More info at https://github.com/wodby/mariadb
  29. mariadb:
  30. image: wodby/mariadb:${MARIADB_TAG-10.3}
  31. stop_grace_period: 30s
  32. environment:
  33. MYSQL_ROOT_PASSWORD: password
  34. # volumes:
  35. # - mariadb-datavolume:/var/lib/mysql
  36. # ports:
  37. # - '3005:3306'
  38. # More info at https://github.com/wodby/postgres
  39. # postgres:
  40. # image: wodby/postgres:${POSTGRES_TAG-10.5}
  41. # stop_grace_period: 30s
  42. # environment:
  43. # POSTGRES_PASSWORD: password
  44. # POSTGRES_DB: db
  45. # POSTGRES_USER: root
  46. # volumes:
  47. # - postgres-datavolume:/var/lib/postgresql/data
  48. # ports:
  49. # - '5532:5432'
  50. # https://gorannikolovski.com/blog/docker4drupal-and-functional-javascript-tests
  51. # chrome:
  52. # image: drupalci/webdriver-chromedriver:production
  53. # ulimits:
  54. # core:
  55. # soft: -1
  56. # hard: -1
  57. # cap_add:
  58. # - SYS_ADMIN
  59. # volumes:
  60. # - /dev/shm:/dev/shm
  61. # entrypoint:
  62. # - chromedriver
  63. # - "--no-sandbox"
  64. # - "--log-path=/tmp/chromedriver.log"
  65. # - "--verbose"
  66. # - "--whitelisted-ips="
  67. #data volumes https://docs.docker.com/storage/volumes/
  68. #volumes:
  69. # mariadb-datavolume:
  70. # postgres-datavolume: