Skip to content

docs: remove deprecated version field from docker-compose examples#184

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-deprecated-compose-version-20260614
Open

docs: remove deprecated version field from docker-compose examples#184
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/remove-deprecated-compose-version-20260614

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Removes the deprecated version: '3.8' field from the docker-compose YAML examples in DEPLOYMENT_DOCKER.md.

Why

Docker Compose v2 (the Go-based docker compose) ignores the version field and it is deprecated in modern Compose Specification (v2+). Including it in examples:

  • Encourages users to copy deprecated syntax
  • Can cause confusion since newer Compose releases may warn about the field
  • Modern Docker Compose documentation no longer includes version in examples

Changes

  • DEPLOYMENT_DOCKER.md: Removed version: '3.8' from both YAML code blocks (simple example and SSL/TLS production example)

Test Plan

  • YAML syntax is still valid — the version field was always optional in practice for modern Compose
  • No behavior change — documentation-only change

Docker Compose v2 ignores the version field, and it is deprecated
in modern Compose specifications. The version field was required
for validation in Docker Compose v1 but is no longer needed and
produces warnings in newer Docker releases.
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 14, 2026 6:06pm

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.

1 participant