Clone docker4drupal repository and switch to the latest stable tag or download/unpack the source code from the latest release.There are 2 options how to use docker4drupal – you can either run vanilla Drupal from the image or mount your own Drupal codebase: Vanilla Drupal ¶ To use a bind mount uncomment to corresponding line under db server's volumes: in your docker-compose.yml and update the host path to your data directory. If you want to have your DB data all-time persistent and attached, we recommend using a bind mount. However, if you run docker-compose down (it's ok to use stop though) these volumes will not be reattached when you run docker-compose up. By default Docker will create a persistent volume for your DB data and unless you explicitly remove volumes the files will not be deleted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |