Skip to main content
13
results
Andrew Fletcher
The issue of over 300 simultaneous database connections in the context of AWS and Drupal can have several potential causes. Here are some common factors to consider: Server Configuration Check your server configuration to ensure it can handle the expected number of simultaneous connections. This includes parameters like max_connections in your database server configuration. Traffic or Load Spike A sudden increase in traffic or load on your Drupal site can lead to more simultaneous database...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed.  Don't know how to check?  Using Terminal (I prefer iTerm2), run the following command docker -D info  The set-up Go to your project directory, and create a docker folder and a “docker-compose.yml” file: mkdir/Users/{your_name}/Sites/{your_directory} cd /Users/{your_name}/Sites/{your_directory} mkdir docker cd docker vim docker-compose.ymlCopy following code and add it in to the docker-compse.yml...
Andrew Fletcher
Running Docker and attempting to install a web proxy environment where I'm...
Andrew Fletcher
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
Create and push to Docker Hub Creating your own custom image... you need to have...
Andrew Fletcher
Resetting Docker is basically following the start parameters.  All...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'. Once you’ve created date format, you can control the way date is displayed on the node using preprocess function. In {theme_name}.theme file, add the following lines /** * Implements hook_preprocess_node */ function THEME_NAME_preprocess_node(&$variables) { // Getting the node creation time stamp from the node object. $date...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...
Andrew Fletcher
Running Docker in a new process and creating a container.   Go to the...