File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 11# drupal-enterprise-stack
2+
3+ * [ PostgreSQL] ( #postgresql )
4+ * [ Redis] ( #redis )
5+
6+
7+ ## PostgreSQL <a name =" postgresql " />
8+
9+ The Drupal stack uses Postgres as its database.
10+
11+ Database dumps can be imported and exported using ` make dbimp ` and ` make dbexp ` respectively.
12+
13+ The following settings can be configured in your .env file:
14+
15+ | Name | Default Value |
16+ | ------------- | :-------------:|
17+ | DB_NAME | drupal |
18+ | DB_USER | user |
19+ | DB_PASSWORD | pass |
20+ | DB_ROOT_PASSWORD | password |
21+ | DB_HOST | postgres |
22+ | DB_PORT | 5432 |
23+ | DB_CONTAINER_PORT | 5432 |
24+ | DB_DRIVER | pgsql |
25+
26+
27+ ## Redis <a name =" redis " />
28+
29+ * Link:* https://www.drupal.org/project/redis
30+
31+ The Drupal stack uses the PHPRedis as its PHP client. This extension should be installed during the Drupal image build process.
32+
33+ Enable the Redis module. Visit localhost/admin/reports/redis to view the current status of the Redis module.
34+
35+ Ensure that the following settings have been added to the settings.php file.
36+
37+ ```
38+ $settings['redis.connection']['interface'] = 'PhpRedis';
39+ $settings['redis.connection']['host'] = 'redis';
40+ $settings['redis.connection']['port'] = '6379';
41+ $settings['cache']['default'] = 'cache.backend.redis';
42+ $settings['queue_default'] = 'queue.redis_reliable';
43+ $settings['container_yamls'][] = 'modules/contrib/redis/example.services.yml';
44+ ```
You can’t perform that action at this time.
0 commit comments