File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ shortcuts:
3636
3737You can use ` / ` to filter the list of instances. For more shortcuts, press ` h ` .
3838
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+
3947## Development
4048
4149CCmanager is based on [ Go] ( https://go.dev ) ,
Original file line number Diff line number Diff line change 99 "github.com/alexflint/go-arg"
1010 "github.com/charmbracelet/bubbles/list"
1111 tea "github.com/charmbracelet/bubbletea"
12+ "github.com/docker/compose/v2/pkg/api"
1213 "os"
1314)
1415
@@ -21,6 +22,8 @@ func main() {
2122
2223 var items []list.Item
2324
25+ api .Separator = args .ContainerSeparator
26+
2427 d := adapters.DockerAdapter {}
2528
2629 program := tea .NewProgram (models .NewMainModel (& d , args .BasePath , items ))
You can’t perform that action at this time.
0 commit comments