Skip to content

Tools for working with docker-compose locally in development

License

Notifications You must be signed in to change notification settings

olymk2/emacs-docker-compose

Repository files navigation

Emacs docker / docker compose plugin using magit-popups

Tools for working with docker and docker-compose locally

![Container Selector](/preview.gif?raw=true “Helm container selection”)

Contributing ==

Consider putting this pre commit hook to run the tests before placing a PR. You will need drone-cli to run these locally.

Emacs config / Extending

Add your own testing command, or add extra functionality to any popup

(magit-define-popup-action 'docker-tests-popup ?w "testing" (dc-call-compose-ps))
(message "%s" finder-known-keywords)
(add-to-list 'load-path "~/.emacs/dc/")
(load "dc-popups")

Set spacemacs launcher keys

(evil-leader/set-key "d" 'dc-popups-docker-compose)
(evil-leader/set-key "D" 'dc-popups-docker)

Compose functions

(dc-popups-compose-names)
(dc-popups-docker-run-return "" "config" "--services" "")

Docker functions

List of detected containers

(dc-popups-docker-names)

Select a container, and store result in dc-popups-current-docker-container

(setq dc-popups-current-docker-container (completing-read "Select container:" (dc-popups-docker-names)))

About

Tools for working with docker-compose locally in development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published