docker-compose-gen

command module
v0.0.0-...-54ef592 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2018 License: GPL-3.0 Imports: 1 Imported by: 0

README

docker-compose-gen

Generate docker-compose config segments dynamically.

Primary Use Case

It can be helpful to replace the default network with an externally defined one dynamically at time of orchestration.

docker-compose-gen can be used like so to make the default network containers are connected to an already defined network called lab.

docker-compose -f docker-compose.yml -f <(docker-compose-gen network --compose-version 3.1 --external lab) up

Installation

Docker

You may use the automated docker image to use docker-compose-gen without any other dependencies with the following:

docker run nekroze/docker-compose-gen:latest network --name backchannel

Go

If you would like to compile and install/update docker-compose-gen locally and via the golang tool chain with:

go get -u github.com/Nekroze/docker-compose-gen/...

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