Isolate development container images #54

Merged
eleith merged 1 commits from fix/separate-development-images into main 2026-11-12 23:41:05 +00:00
2 changed files with 9 additions and 0 deletions

No files matched your search

@@ -0,0 +1,6 @@
---
'@hledger-reports/web': patch
'@hledger-reports/worker': patch
---
Use separate development image names so Docker tasks cannot accidentally start production servers in the development setup.
+3
View File
@@ -1,8 +1,10 @@
name: hledger-web-reports
# Reuse the journal mount, shared data, and readiness wiring; change only development.
# Distinct image names prevent reusing production images from the same Compose project.
services:
web:
image: '${COMPOSE_PROJECT_NAME:-hledger-web-reports}-web-dev'
extends:
file: docker-compose.yml
service: web
@@ -33,6 +35,7 @@ services:
]
worker:
image: '${COMPOSE_PROJECT_NAME:-hledger-web-reports}-worker-dev'
extends:
file: docker-compose.yml
service: worker