Experimental Docker desktop waypoint plugin (platform/deploy plugin)
- The docker desktop plugin is a fork from waypoint's builtin docker plugin.
- Ability to pin ports and container names, much like docker-compose.
- Why? The plugin gives the flexibility to expose the services I am building right from the desktop within my team.
make
$ export XDG_CONFIG_HOME=$HOME/.config/waypoint
$ make install
In your project, ensure
- you have the plugin binary placed in
$HOME/.config/waypoint/plugins
. atleast on osx and linux export XDG_CONFIG_HOME=$HOME/.config/waypoint
- Here is an example
waypoint.hcl
where thedockerdesk
plugin is used
app "frontend" {
path = "./frontend"
build {
use "docker" {
}
}
deploy {
use "dockerdesk" {
published_ports = "80:80"
service_port = 80
use_app_as_container_name = true
}
}
}