🐛 fix(deploy): validate Caddy gateway environment

This commit is contained in:
Andrey committed 2026-07-14 13:33:49 +03:00
1 parent e13542fc45
commit eac4aede40
3 files changed
+22

No files matched your search

+8
View File
@@ -93,6 +93,14 @@ cmd_doctor() {
_doctor_report 0 "CUSTOCRM_DOMAIN not set"
fi
local acme_email
acme_email="$(env_get "$(instance_env_file)" CUSTOCRM_ACME_EMAIL)"
if [[ -n "$acme_email" ]]; then
_doctor_report 1 "CUSTOCRM_ACME_EMAIL set"
else
_doctor_report 0 "CUSTOCRM_ACME_EMAIL not set"
fi
local pg_pwd
pg_pwd="$(env_get "$(instance_env_file)" POSTGRES_PASSWORD)"
if [[ -n "$pg_pwd" ]]; then