dockerdesk

command module
v0.0.0-...-ef9c2dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 2 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL