Skip to content

1xyz/dockerdesk

Repository files navigation

dockerdesk

Experimental Docker desktop waypoint plugin (platform/deploy plugin)

Notes

  • 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.

Build

make

Install

$ export XDG_CONFIG_HOME=$HOME/.config/waypoint
$ make install

Example use within a project

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 the dockerdesk 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
        }
    }
}

Resources

  • How to a write plugin here
  • For a working example see here

About

Waypoint plugin for docker desktopn

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published