forked from LaconicNetwork/kompose
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:
@@ -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"
|
||||
Reference in New Issue
Block a user