File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ shortcuts:
36
36
37
37
You can use ` / ` to filter the list of instances. For more shortcuts, press ` h ` .
38
38
39
+ ## Container name separator
40
+
41
+ CCManager tries to lookup CloudControl environments by the name of their typical containers. These names are
42
+ usually in the form of <project ><separator ><service ><separator ><counter >.
43
+
44
+ The default separator is "-", but may be different in the container engine you're using. You can define the
45
+ separator using the environment variable ` CCMANAGER_SEP ` .
46
+
39
47
## Development
40
48
41
49
CCmanager is based on [ Go] ( https://go.dev ) ,
Original file line number Diff line number Diff line change 9
9
"github.com/alexflint/go-arg"
10
10
"github.com/charmbracelet/bubbles/list"
11
11
tea "github.com/charmbracelet/bubbletea"
12
+ "github.com/docker/compose/v2/pkg/api"
12
13
"os"
13
14
)
14
15
@@ -21,6 +22,8 @@ func main() {
21
22
22
23
var items []list.Item
23
24
25
+ api .Separator = args .ContainerSeparator
26
+
24
27
d := adapters.DockerAdapter {}
25
28
26
29
program := tea .NewProgram (models .NewMainModel (& d , args .BasePath , items ))
You can’t perform that action at this time.
0 commit comments