From 440baf6009812de2f05f4166e15d7a14835327bd Mon Sep 17 00:00:00 2001 From: Emircan ERKUL Date: Wed, 12 Jun 2024 06:50:50 +0300 Subject: [PATCH 1/2] Create drupal-with-postgresql.yaml --- templates/compose/drupal-with-postgresql.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 templates/compose/drupal-with-postgresql.yaml diff --git a/templates/compose/drupal-with-postgresql.yaml b/templates/compose/drupal-with-postgresql.yaml new file mode 100644 index 000000000..ac1bedefd --- /dev/null +++ b/templates/compose/drupal-with-postgresql.yaml @@ -0,0 +1,39 @@ +# documentation: https://www.drupal.org/about +# slogan: Drupal is a free and open-source web content management system written in PHP and distributed under the GNU General Public License. +# tags: cms, blog, content, management, postgresql +# logo: svgs/drupal.svg + +services: + drupal: + image: 'drupal:10-apache' + environment: + - SERVICE_FQDN_DRUPAL + - DB_HOST=postgres + - DB_NAME=postgres + - DB_USER=postgres + - DB_PASSWORD=$SERVICE_PASSWORD_POSTGRES + volumes: + - type: volume + source: drupal_modules + target: /var/www/html/modules + is_directory: true + - type: volume + source: drupal_profiles + target: /var/www/html/profiles + is_directory: true + - type: volume + source: drupal_themes + target: /var/www/html/themes + is_directory: true + - type: volume + source: drupal_sites + target: /var/www/html/sites + is_directory: true + depends_on: + - postgres + restart: always + postgres: + image: 'postgres:16' + environment: + - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES + restart: always From e7e85456eaa6312b9ba97b65a8925f7d59108a37 Mon Sep 17 00:00:00 2001 From: Emircan ERKUL Date: Wed, 12 Jun 2024 06:54:59 +0300 Subject: [PATCH 2/2] Drupal svg logo --- public/svgs/drupal.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/svgs/drupal.svg diff --git a/public/svgs/drupal.svg b/public/svgs/drupal.svg new file mode 100644 index 000000000..bd77106dc --- /dev/null +++ b/public/svgs/drupal.svg @@ -0,0 +1 @@ +Risorsa 28 \ No newline at end of file