jesseduffield / jesseduffield/lazydocker

Dynamic containernames in docker-compose.yml

Open
#87 1 comment 9 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
52.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Do you support dynamic container names?

Currently we using docker-compose.yml files with dynamic container names getting set by env variables.

Example shortend `docker-compose.yml` file
```
version: "2.0"
services:
app:
container_name: ${PROJECT_NAME}-app
[........]
```
Can be started via `PROJECT_NAME=testproject docker-compose up`

Looking forward to your answer, thanks a lot!

Tryed
```PROJECT_NAME=testproject lazydocker```
but no container showing up

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.