Fix the examples

Moves `docker-compose.yaml` to `docker-compose-counter.yaml` and
replaces the default docker-compose.yaml with the example from the
Kompose.io website.

We also rename each file from yml to yaml.

As well as do some slight modifications / formatting to
docker-compose-bundle.dab
This commit is contained in:
Charlie Drage
2017-04-10 12:26:47 -04:00
parent d6aedda333
commit 2abb18af1a
5 changed files with 6 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
version: "2"
services:
vote:
image: docker/example-voting-app-vote:latest
labels:
- "com.example.description=Vote"
ports:
- "5000:80"
redis:
image: redis:alpine
ports: ["6379"]
worker:
image: docker/example-voting-app-worker:latest
db:
image: postgres:9.4
ports: ["5432"]
labels:
- "com.example.description=Postgres Database"
result:
image: tmadams333/example-voting-app-result:latest
ports:
- "5001:80"