Pieter van de Bruggen
a4bd90ff8a
Correlate Services and Containers by Service Name
...
The config hash ends up not being a unique identifier of a Service. Additionally, Services may have multiple associated Containers.
``` yaml
# Sample docker-compose.yml
version: "2.2"
services:
named-service:
container_name: 'named-container'
image: 'alpine'
command: 'sh -c "while :; do sleep 1; done"'
anonymous-service:
image: 'alpine'
command: 'sh -c "while :; do sleep 1; done"'
scaled-service:
image: 'alpine'
scale: 3
command: 'sh -c "while :; do sleep 1; done"'
```
``` bash
$ docker-compose config --hash="*"
named-service e6e7c4564dfc435ba96725098c62e6b6cf8da9f0b76b0a08be2baddedad6d007
anonymous-service 254f4815ef36bc9fcc2ce80f82278187c9e233309a4106951551f3692657ce9c
scaled-service 254f4815ef36bc9fcc2ce80f82278187c9e233309a4106951551f3692657ce9c
```
This commit changes how Services are discovered (`docker-compose config --services`), how they're associated (by Container ID, rather than config hash or name), and allows for Services to reference multiple Containers (though only the first is directly used for anything at this time).
2019-07-23 13:42:18 -07:00
Christian Muehlhaeuser
78d7fda9ec
Simplified code a bit
2019-07-19 04:59:32 +02:00
Jesse Duffield
7c87c21fa0
show y/n options on confirmation panels
2019-07-12 20:59:44 +10:00
Dowideit, Sven (O&A, St. Lucia)
cdf075b00d
Initial working demo
...
Signed-off-by: Dowideit, Sven (O&A, St. Lucia) <Sven.Dowideit@csiro.au>
2019-07-08 17:01:15 +10:00
mjarkk
209456fdcd
Changed the keybinding to e
2019-07-07 14:44:59 +02:00
mjarkk
30a79faa49
Moved the filtering out of containers to the docker.go file
2019-07-07 14:19:35 +02:00
mjarkk
b89b02eee5
Added h key binding
2019-07-06 21:20:21 +02:00
Pieter van de Bruggen
b3422c87f4
Pull the project name from docker-compose labels, when available
2019-07-03 16:58:42 -07:00
Pieter van de Bruggen
86dfebdeaf
Replace Project panel content with the project directory.
...
In the future, it may be worth trying to compute this from ComposeFiles.
2019-07-03 10:59:45 -07:00
Pieter van de Bruggen
8654d177d3
Move name to information area
2019-07-03 10:52:43 -07:00
Pieter van de Bruggen
12f3cfab55
Rename StatusPanel to ProjectPanel
2019-07-03 10:48:55 -07:00
Jesse Duffield
187689a553
Merge pull request #62 from mjarkk/fix-58
...
Fix #58 (nil pointer dereference)
2019-07-02 19:52:21 +10:00
mjarkk
d10410e787
Fixed a sugestion
2019-07-02 11:28:19 +02:00
mjarkk
28e75ebe1a
Fixed the issue
2019-07-02 10:38:36 +02:00
mjarkk
cb926cd20a
Fixed an escape bug
2019-07-02 09:14:22 +02:00
Jesse Duffield
344e5ecda5
default to container view when not in docker-compose context
2019-07-01 23:30:51 +10:00
Jesse Duffield
ec7624c3a3
fix menu overlap bug
2019-07-01 21:17:55 +10:00
Jesse Duffield
836b814559
Merge pull request #37 from mjarkk/remove-dead-code
...
Removed some dead code
2019-07-01 20:00:02 +10:00
mjarkk
e3f6f59890
Removed some dead code
2019-07-01 09:56:05 +02:00
Jesse Duffield
dcd5bcdfcd
remove incorrect description from status click binding
2019-06-30 22:22:35 +10:00
Jesse Duffield
5169356454
support light themes in terminals
2019-06-30 19:58:46 +10:00
Jesse Duffield
345f02eb11
fix nil pointer exception when trying to kill process
2019-06-30 18:24:59 +10:00
Jesse Duffield
7e68985da5
override wrap for image panel
2019-06-30 11:51:21 +10:00
Jesse Duffield
ea8258d66e
more stuff
2019-06-30 11:40:55 +10:00
Jesse Duffield
4e86732cf2
support custom commands that filter down to service names
2019-06-29 21:29:35 +10:00
Jesse Duffield
c57b7122df
don't ever highlight main
2019-06-29 15:49:45 +10:00
Jesse Duffield
32fc8ea3e2
defaulting to not wrap now that we can navigate horizontally in the main view
2019-06-29 15:47:15 +10:00
Jesse Duffield
27eb5a6474
back to only allowing false defaults for config booleans
2019-06-29 15:27:41 +10:00
Jesse Duffield
8a5c634957
don't ask about the reporting config thing more than once
2019-06-29 13:56:58 +10:00
Jesse Duffield
eea087c1db
add PromptToReturn config option
2019-06-29 13:41:30 +10:00
Jesse Duffield
e220bedc79
support actual mouse support and focusing the main view
2019-06-29 13:41:15 +10:00
Jesse Duffield
405bb85ed0
support clicking on tabs
2019-06-29 11:27:21 +10:00
Jesse Duffield
0e76f61359
allow click events in menu
2019-06-29 10:47:45 +10:00
Jesse Duffield
7025468f43
allow clicking on frame edges
2019-06-29 10:40:24 +10:00
Jesse Duffield
c3ec4b15ad
add in donate button again
2019-06-29 10:40:10 +10:00
Jesse Duffield
dcb8b3329f
fix up click events on list panels
2019-06-29 10:22:37 +10:00
Jesse Duffield
8b99753ab8
fix keybinding error in menu panel on close
2019-06-29 10:05:54 +10:00
Jesse Duffield
2ef5edcf89
switch to yaml fork so that we can view omitEmpty yaml fields when printing the config
2019-06-29 09:55:35 +10:00
Jesse Duffield
f3491cf13f
allow y/n to respond to confirmation prompts
2019-06-29 09:16:48 +10:00
Jesse Duffield
b644249d0e
show lazydocker config in about tab
2019-06-29 09:16:29 +10:00
Jesse Duffield
3105c03bbe
add '?' keybinding to view keybindings for a panel
2019-06-29 08:55:27 +10:00
Jesse Duffield
f34c7b9058
close goEvery goroutines when switching to a subprocess
2019-06-23 19:56:23 +10:00
Jesse Duffield
8242bd279a
show ports at top of container config
2019-06-23 19:39:45 +10:00
Jesse Duffield
83b6cd7e27
rename to RefreshImages
2019-06-23 17:26:55 +10:00
Jesse Duffield
ee688746f0
more
2019-06-23 12:27:31 +10:00
Jesse Duffield
014dce909c
no more separate code paths for tty container logs
2019-06-23 08:11:16 +10:00
Jesse Duffield
7bd7eed2a3
add donate link back in
2019-06-22 14:15:49 +10:00
Jesse Duffield
f2da6dca3b
appease gofmt
2019-06-18 20:30:05 +10:00
Jesse Duffield
5ab4ef6f8c
support docker daemon going down randomly
2019-06-16 12:37:47 +10:00
Jesse Duffield
4c916477ba
refactor
2019-06-16 11:05:19 +10:00