Step 1 — Hybris 6.7 data source configuration for docker containers

Since Hybris 5.5+ version a recipe concept was introduced. Recipes are built on Hybris pre configured examples that enables start and deploy platform.

To enable datasource using a default docker recipe we need to do following changes:

1 — Adding data source properties in local properties section.

Data source properties
  • ${HYBRIS_DATASOURCE_NAME} must be replaced by datasource name configured in server.xml file.
  • $ {DATASOURCE_TYPE} must be replaced by one of the follow options, based on database type: hsqldb|oracle|mysql|sqlserver|sap

2 — Comment or remove default db setup section.

Commented DB setup section

3 — Adding new property reference new serve.xml.tmpl

Server XML template file path configuration

References

https://help.hybris.com/

https://jira.hybris.com/browse/ECP-3110

--

--