fix: allow dynamic container name to prevent conflicts
Some checks failed
Deploy to Production / deploy (push) Failing after 4s
Some checks failed
Deploy to Production / deploy (push) Failing after 4s
This commit is contained in:
2
.env.example
Normal file
2
.env.example
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Optional: Set a custom container name to run multiple instances
|
||||||
|
# CONTAINER_NAME=nonograms-dev
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user