Files
coolify/templates/compose/drupal-with-postgresql.yaml
T
Andras Bacsai 0ebb1a1da8 fix(service): re-enable PHP templates with patched images
Remove the ignore flag from 38 PHP-based service templates whose
current images ship a PHP release fixed for CVE-2026-109618 and
CVE-2026-109619 (8.5.12, 8.4.27, 8.3.36, 8.2.35, or the patched
Debian and Ubuntu packages).
2026-10-22 20:26:09 +02:00

56 lines
1.5 KiB
YAML

# 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.
# category: cms
# tags: cms, blog, content, management, postgresql
# logo: svgs/drupal.svg
# port: 80
services:
drupal:
image: "drupal:10-apache"
environment:
- SERVICE_URL_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
healthcheck:
test:
- CMD-SHELL
- "curl -f http://localhost:80 || exit 1"
interval: 30s
timeout: 10s
retries: 5
postgres:
image: "postgres:16"
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
healthcheck:
test:
- CMD-SHELL
- "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"
interval: 5s
timeout: 10s
retries: 20