Easily run your Compose application to the cloud with compose-cli
Перейти к файлу
Djordje Lukic 8571cf5a04 Create a new client on each request
`docker serve` doesn't need a context any more, the server takes the
current context from the request metadata and creates a new client
2020-04-30 12:07:26 +02:00
azure Multiple backend for the cli 2020-04-30 11:01:04 +02:00
backend Create a new client on each request 2020-04-30 12:07:26 +02:00
cli Create a new client on each request 2020-04-30 12:07:26 +02:00
client Change the current context of the client on each request 2020-04-30 12:07:26 +02:00
compose/v1 Add compose.proto 2020-04-27 16:04:30 +02:00
containers Create a new client on each request 2020-04-30 12:07:26 +02:00
context Create a new client on each request 2020-04-30 12:07:26 +02:00
example Multiple backend for the cli 2020-04-30 11:01:04 +02:00
scripts/setup add protoc-gen-go and remove gogo install 2020-04-21 15:29:18 +02:00
server Create a new client on each request 2020-04-30 12:07:26 +02:00
util Add `docker context create` command 2020-04-26 19:42:20 +02:00
.dockerignore Add dockerignore 2020-04-24 15:03:46 +02:00
.gitignore Remove non-project path 2020-04-24 14:04:27 +02:00
Dockerfile Run tests inside a container 2020-04-27 10:17:10 +02:00
Makefile Multiple backend for the cli 2020-04-30 11:01:04 +02:00
README.md Add initial backend proto and example 2020-04-06 11:22:34 -04:00
consts.go Add compose.proto 2020-04-27 16:04:30 +02:00
go.mod Multiple backend for the cli 2020-04-30 11:01:04 +02:00
go.sum Multiple backend for the cli 2020-04-30 11:01:04 +02:00
setup-dev.sh Fix install-protobuf script for macosx install 2020-04-06 17:19:16 +02:00

README.md

Docker API

Dev Setup

To setup a development machine to update the API protobufs, first run the ./setup-dev.sh script to install the correct version of protobufs on your system and get the protobuild binary.

Building the API Project

> make

Build the example backend

The example backend code is located in /example/backend. Build the service with the resulting binary placed in the /bin directory.

> make example