From 96843b833ee0f08fde91ab86acc51b6a4585fe31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yeifer=20Mu=C3=B1oz?= Date: Thu, 30 May 2024 01:56:56 -0500 Subject: [PATCH] chore: enhance compose.yaml with variables for customize --- compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index be9fe7ea..7db390c7 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,7 +2,8 @@ x-customizable-image: &customizable_image # By default the image used only contains the `frappe` and `erpnext` apps. # See https://github.com/frappe/frappe_docker/blob/main/docs/custom-apps.md # about using custom images. - image: frappe/erpnext:${ERPNEXT_VERSION:?No ERPNext version set} + image: ${CUSTOM_IMAGE:-frappe/erpnext}:${ERPNEXT_VERSION:-${CUSTOM_TAG:?No ERPNext version or tag set}} + pull_policy: ${PULL_POLICY:-always} x-depends-on-configurator: &depends_on_configurator depends_on: