![]() Optional: for Drupal 8 or 7 update NGINX_VHOST_PRESET correspondingly in your.$databases = array ( 'database' => 'drupal', // same as $DB_NAME 'username' => 'drupal', // same as $DB_USER 'password' => 'drupal', // same as $DB_PASSWORD 'host' => 'mariadb', // same as $DB_HOST 'driver' => 'mysql', // same as $DB_DRIVER 'port' => '3306', // different for PostgreSQL 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql', // different for PostgreSQL 'prefix' => '', ) Ensure database access settings in your settings.php corresponds to values in.Ensure NGINX_SERVER_ROOT (or APACHE_DOCUMENT_ROOT) is correct, by default set to /var/www/html/web for composer-based projects where Drupal is in web subdirectory.Delete as it's used to deploy vanilla Drupal. ![]() Download and unpack from the latest stable release to your project root. ![]() If you're starting a new project we recommend you to use drupal/recommended-project.Default database user, password and database name are all drupal, database host is mariadb That's it! Proceed with Drupal installation at.Give it 10-20 seconds to initialize after the start From project root directory run docker-compose up -d or make up to start containers.Optional: for Drupal 8 or 7 comment out corresponding DRUPAL_TAG and NGINX_VHOST_PRESET in. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |