From c5be87c1a8cc257cc4ba5f14520a0c7be99b19df Mon Sep 17 00:00:00 2001 From: zclaiqcc Date: Fri, 5 May 2023 15:47:54 +0800 Subject: [PATCH] feat: make SAFELINE_DIR mandatory --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 38d9051..d9396ff 100644 --- a/compose.yaml +++ b/compose.yaml @@ -32,7 +32,7 @@ services: restart: always image: chaitin/safeline-mgt-api:${IMAGE_TAG:?image tag required} volumes: - - ${SAFELINE_DIR}/resources/management:/resources/management + - ${SAFELINE_DIR?safeline dir required}/resources/management:/resources/management - ${SAFELINE_DIR}/resources/nginx:/resources/nginx - ${SAFELINE_DIR}/logs:/logs - /etc/localtime:/etc/localtime:ro