Private
Public Access
1
0

Fix gitignore blocking deploy override from being tracked

The pattern docker-compose.override.yml matched at all levels,
preventing website/deploy/docker-compose.override.yml from being
committed. Changed to /docker-compose.override.yml (root-only).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
constantprojects
2026-02-24 11:59:30 -07:00
parent 53ac8f85ac
commit 1750efeb05
2 changed files with 12 additions and 1 deletions

2
.gitignore vendored
View File

@@ -3,7 +3,7 @@
.credentials
# Docker Compose override (used for marketing site on production VPS only)
docker-compose.override.yml
/docker-compose.override.yml
website/deploy/active-marketing.conf
# Persistent data (created by setup.sh)

View File

@@ -0,0 +1,11 @@
# Marketing site overlay — adds the static marketing site to the nginx container
# This file is auto-merged by Docker Compose when placed in the project root.
# It does NOT modify any core WebsiteBox files.
#
# Usage: cp website/deploy/docker-compose.override.yml . && docker compose up -d
services:
nginx:
volumes:
- ./website:/var/www/marketing:ro
- ./website/deploy/active-marketing.conf:/etc/nginx/conf.d/marketing.conf:ro