Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update local stack for consistency #686

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion local/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ After modifications to the composer files (for example, after the automatic comp

When a new image used by a service has been created by the OPS team (ex: new mysql or php image):

- Run `./local/insall.sh -u -d` to pull the service and base site images, recreate the local site image and the containers and install the dev dependencies.
- Run `./local/install.sh -u -d` to pull the service and base site images, recreate the local site image and the containers and install the dev dependencies.

When an image **with a new tag** has been created, then update the `local/docker-compose.yml` or the `docker/Dockerfile` accordingly before running the update command above.

Expand Down
2 changes: 2 additions & 0 deletions local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ services:
# Mount volumes for the private and public files.
- "site-public:/srv/www/html/sites/default/files:rw"
- "site-private:/srv/www/html/sites/default/private:rw"
# A place for database backups to be installed.
- "../database:/srv/www/database:ro"
# Mount the folders needed for the tests.
- "../phpcs.xml:/srv/www/phpcs.xml:ro"
- "../phpunit.xml:/srv/www/phpunit.xml:ro"
Expand Down
2 changes: 1 addition & 1 deletion local/shared/settings/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To activate this feature, follow the instructions at the top of the
# 'example.settings.local.php' file, which sits next to this file.
parameters:
http.response.debug_cacheability_headers: false
http.response.debug_cacheability_headers: true
twig.config:
# Twig debugging:
#
Expand Down
1 change: 0 additions & 1 deletion local/shared/settings/settings.local.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,3 @@
$settings['cache']['bins']['page'] = 'cache.backend.null';
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
}

2 changes: 1 addition & 1 deletion local/shared/settings/settings.memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
if (file_exists('modules/contrib/memcache/memcache.services.yml')) {
$settings['container_yamls'][] = 'modules/contrib/memcache/memcache.services.yml';
}
elseif (file_exists('modules/memcache/memcache.services.yml')) {
else if (file_exists('modules/memcache/memcache.services.yml')) {
$settings['container_yamls'][] = 'modules/memcache/memcache.services.yml';
}
// Configure memcache.
Expand Down