❌

Normal view

Received β€” 4 September 2025 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

Deploy Drupal in docker with nginx - Suggestion for improvements

Hello, 2 years ago, I was working for a customer and I needed to install Drupal inside a VPS, and I was facing many issues with the typical PHP configuration, so I decided to use Docker, in which I set up the configuration.

I created an article for my company website and a GitHub repository, and unexpectedly, the SEO ranked a lot, and it was receiving traffic daily. And for this reason, due to another customer's work, I had the opportunity to update the codebase recently, specifically for SSL and Drupal 11.

I want to share because I would like to receive feedback for further improvements, and it can even be helpful for other people with the same issue as me.

The configuration I had been using is:
- Nginx for public access with a reverse proxy that manages SSL certificates
- PHP FPM + Drupal + Composer
- MariaDB / MySQL
- PhpMyAdmin as extra.

And the issue I was facing is the permission management with SSL certificates generated by the hosting machine, in which Docker has trouble reading, as it doesn't have root access to read the SSL certificates, and I must do a local copy, making trouble every 3 months. And I was considering a solution like certbot image.

Feel free to be critical, but not offensive.

Thanks:

Github link: https://github.com/AndreaCorda01/drupal-docker-boilerplate

Website blog: https://www.geonovation.it/article/how-deploy-drupal-website-linux-nginx-and-docker

submitted by /u/cordinx
[link] [comments]

Why is so hard to make custom twig templates for Drupal?

Hi all,

Drupal is great for creating custom content types, setting up layouts, placing reusuable blocks but the one thing it is terrible at is making custom templates.

Why is there no option in views for me to simple select that i want all fields to simple come back in a certain tag and just get the text value, for example

<span>field_blog_title.value</span>

<img src="{{ field\_blog\_featured\_img.url }}" />

<p>field_blog_summary.value</p>

If Drupal was better at this i swear the usage would sky rocket.

submitted by /u/therealcoolpup
[link] [comments]
❌