fix: allow dynamic container name to prevent conflicts
Some checks failed
Deploy to Production / deploy (push) Failing after 4s

This commit is contained in:
2026-02-19 07:08:27 +01:00
parent a926727b51
commit 44b0f6443f
2 changed files with 3 additions and 1 deletions

2
.env.example Normal file
View File

@@ -0,0 +1,2 @@
# Optional: Set a custom container name to run multiple instances
# CONTAINER_NAME=nonograms-dev

View File

@@ -2,7 +2,7 @@ version: '3.8'
services: services:
nonograms: nonograms:
container_name: nonograms container_name: ${CONTAINER_NAME:-nonograms}
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile