Skip to content

Commit 8c3f8c2

Browse files
authored
Merge pull request #17 from OS2web/develop
Merge develop into staging
2 parents 9e10fe3 + d3e7105 commit 8c3f8c2

25 files changed

+1572
-264
lines changed

.docker/os2web/settings/prod.settings.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@
2424
'username' => getenv('MYSQL_USER'),
2525
];
2626

27+
$databases['migrate']['default'] = [
28+
'database' => getenv('MIGRATE_MYSQL_DATABASE'),
29+
'driver' => 'mysql',
30+
'host' => getenv('MIGRATE_MYSQL_HOSTNAME'),
31+
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
32+
'password' => getenv('MIGRATE_MYSQL_PASSWORD'),
33+
'port' => getenv('MIGRATE_MYSQL_PORT'),
34+
'prefix' => '',
35+
'username' => getenv('MIGRATE_MYSQL_USER'),
36+
];
37+
2738
$settings['hash_salt'] = getenv('DRUPAL_HASH_SALT');
2839

2940
$settings['file_temp_path'] = '../tmp';

.docksal/etc/php/php.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
memory_limit = -1
22
error_log = '/var/www/logs/php-errors.log'
3+
#xdebug.profiler_enable = 1;
4+
#xdebug.profiler_output_dir = "/var/www/logs/xdebug"

.env.example

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,13 @@
3333

3434
## Variable used only in docker-compose.yaml
3535
# OS2WEB_TAG=
36+
37+
## Migrate DB mysql variables.
38+
# MIGRATE_MYSQL_DATABASE=
39+
# MIGRATE_MYSQL_HOSTNAME=
40+
# MIGRATE_MYSQL_PASSWORD=
41+
# MIGRATE_MYSQL_PORT=
42+
# MIGRATE_MYSQL_USER=
43+
44+
## Port that is used on host machine for reaching out application
45+
# WEB_SERVER_PORT=8098

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"drupal/console": "^1.0.2",
5151
"drupal/core": "^8.8.0",
5252
"drupal/core-composer-scaffold": "^8.8.0",
53+
"drupal/fancy_file_delete": "^2.0",
5354
"drupal/gin": "^3.0",
5455
"drupal/gin_login": "^1.0@RC",
5556
"drupal/memcache": "^2.2",

0 commit comments

Comments
 (0)