Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 945 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 945 Bytes

Compose on Kubernetes

CircleCI

Compose on Kubernetes allows you to deploy Docker Compose files onto a Kubernetes cluster.

Get started

Compose on Kubernetes comes installed on Docker Dekstop and Docker Enterprise. To deploy a stack, you can use the Docker CLI:

$ cat docker-compose.yml
version: '3.3'

services:

  db:
    build: db
    image: dockersamples/k8s-wordsmith-db

  words:
    build: words
    image: dockersamples/k8s-wordsmith-api
    deploy:
      replicas: 5

  web:
    build: web
    image: dockersamples/k8s-wordsmith-web
    ports:
     - "33000:80"

$ docker stack deploy --orchestrator=kubernetes -c docker-compose.yml hellostack

Developing Compose on Kubernetes

See the contributing and debugging guides.