Skip to content

Default optional compose variables to blank - #151

Merged
bryantgillespie merged 2 commits into
mainfrom
bry/quiet-compose-warnings
Nov 11, 2026
Merged

bryantgillespie merged 2 commits into
mainfrom
bry/quiet-compose-warnings

Conversation

@bryantgillespie

@bryantgillespie bryantgillespie commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Every docker compose up printed "variable is not set" warnings for settings that aren't in .env.example:

  • EMAIL_SMTP_HOST, EMAIL_SMTP_PORT, EMAIL_SMTP_USER, EMAIL_SMTP_PASSWORD (all starters)
  • LOG_LEVEL, WEBSOCKETS_COLLAB_ENABLED (cms, help-center, simple-crm, simple-ecommerce)
  • CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC (help-center, simple-crm, simple-ecommerce)

They now default to blank (${VAR:-}), the same value Directus got before, so nothing changes at runtime.

Checked: docker compose config with each starter's .env.example prints no warnings.

Same fix as directus-labs/agency-os#154.

Also renames the blank starter's compose project from directus-cms-template (copied from cms) to directus-blank-template. With the shared name, starting a blank project took over a cms project's containers.

@vercel

vercel Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cms-nextjs Ready Ready Preview Nov 8, 2026 12:17pm UTC
cms-nuxt Ready Ready Preview Nov 8, 2026 12:17pm UTC
cms-svelte Ready Ready Preview Nov 8, 2026 12:17pm UTC
pizza-frontend Ready Ready Preview Nov 8, 2026 12:17pm UTC
starters-nuxt-new Ready Ready Preview Nov 8, 2026 12:17pm UTC
visual-editor-demo Ready Ready Preview Nov 8, 2026 12:17pm UTC

@bryantgillespie
bryantgillespie merged commit 6ce2953 into main Nov 11, 2026
8 of 9 checks passed
@bryantgillespie
bryantgillespie deleted the bry/quiet-compose-warnings branch November 11, 2026 17:24

This branch was successfully deployed

6 active deployments
Preview – starters-nuxt-new — 8203a900 Deployed Nov 8, 2026 by vercel[bot]
Preview – pizza-frontend — 8203a900 Deployed Nov 8, 2026 by vercel[bot]
Preview – cms-nuxt — 8203a900 Deployed Nov 8, 2026 by vercel[bot]
Preview – visual-editor-demo — 8203a900 Deployed Nov 8, 2026 by vercel[bot]
Preview – cms-nextjs — 8203a900 Deployed Nov 8, 2026 by vercel[bot]
Preview – cms-svelte — 8203a900 Deployed Nov 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants