Skip to content

wodby/service-drupal-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

197 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drupal PHP service for Kubernetes on Wodby

Build and run Drupal PHP applications on Kubernetes with Wodby.

This repository defines the Wodby service manifests and operational configuration for Drupal PHP.

Start with a boilerplate

Use one of the boilerplates exposed by this service to start with compatible build configuration and Wodby CI:

Wodby stacks using this service

Service entries

PHP (Drupal 11)

Property Manifest configuration
Service name drupal11-php
Type Application service
Inherits from php with version constraint ^1.0.0
Versions 8.5 by default; also available: 8.3, 8.4
Workloads main (Deployment), primary
Containers php using wodby/drupal-php, build target
Service links Files storage (files), required, Solr, optional, Redis, optional
Volumes Files, 10 GB, shared, linked through files
Application build Git source connection enabled; Dockerfile: Dockerfile; boilerplates: Drupal CMS, Vanilla Drupal
Configuration 2 settings, 2 generated or fixed tokens
Operations 3 actions, 1 cron schedules

Manifest: 11/service.yml

PHP (Drupal 10)

Property Manifest configuration
Service name drupal10-php
Type Application service
Inherits from php with version constraint ^1.0.0
Versions 8.4 by default; also available: 8.1, 8.2, 8.3
Workloads main (Deployment), primary
Containers php using wodby/drupal-php, build target
Service links Files storage (files), required, Solr, optional, Redis, optional
Volumes Files, 10 GB, shared, linked through files
Application build Git source connection enabled; Dockerfile: Dockerfile; boilerplates: Vanilla Drupal
Configuration 2 settings, 2 generated or fixed tokens
Operations 3 actions, 1 cron schedules

Manifest: 10/service.yml

Use this service

Use this service through Drupal application stack, or reference drupal10-php, drupal11-php from a custom Wodby stack.

A service is a reusable component and does not deploy by itself. The stack defines its links, settings, versions, resources, and relationship to the rest of the application.

Maintain a custom version

  1. Fork this repository.
  2. Edit the service manifest and referenced files.
  3. Import the repository as a Git-backed service.
  4. Reference the service from a stack manifest.

Keep service, workload, container, endpoint, link, volume, config, and derivative names stable unless dependent stacks and app-level overrides are updated at the same time.

Validate the manifests with:

wodby service validate-manifest 11/service.yml --org <org-id>
wodby service validate-manifest 10/service.yml --org <org-id>

See the service manifest reference and the managed services index.