forked from LaconicNetwork/kompose
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
28 lines
485 B
YAML
28 lines
485 B
YAML
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"
|