File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
552 . Install docker (https://docs.docker.com/engine/installation/ ) and docker compose (https://docs.docker.com/compose/install/ )
66
7- 3 . Download Drupal 8 to "src" folder.
8-
9- 4 . Create "settings.php" file in "sites/default" folder.
7+ 3 . Run in console "docker-compose up -d --build && sh run.sh".
108
11- 5 . Add to "settings.php" file next variables:
9+ Site will available on host: http://localhost:8999
1210
13- $databases[ 'default'] [ 'default' ] = array (
14- 'database' => 'drupal',
15- 'username' => 'drupal',
16- 'password' => 'drupal',
17- 'prefix' => '',
18- 'host' => 'mariadb',
19- 'port' => '3306',
20- 'namespace' => 'Drupal\\ Core\\ Database\\ Driver\\ mysql',
21- 'driver' => 'mysql',
22- );
11+ Phpmyadmin available on host: http://localhost:8001
2312
24- $settings[ 'hash_salt'] = '0X5gqLNw3k5sNnC3GfO5yxaHAJPfsON4hCItAcPj_W3zTFP7icFphZE_ -qq__ vFl5-i8s32KXA';
25-
26- 6 . Create folder "sites/default/files"
27-
28- 7 . Go to "docker" folder in console ("cd docker/").
29-
30- 8 . Run in console "docker-compose up".
31-
32- 9 . Site will available on host: http://localhost:8999
33-
34- 10 . Phpmyadmin available on host: http://localhost:8001
35-
36- 11 . Access to admin side - admin: admin
13+ Access to admin side - admin: admin
3714
3815More info about docker images - https://github.com/wodby/docker4drupal
You can’t perform that action at this time.
0 commit comments