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:
parent
d6aedda333
commit
2abb18af1a
@ -22,4 +22,4 @@
|
||||
}
|
||||
},
|
||||
"version": "0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,19 +1,24 @@
|
||||
version: "2"
|
||||
|
||||
services:
|
||||
|
||||
redis-master:
|
||||
image: gcr.io/google_containers/redis:e2e
|
||||
ports:
|
||||
- "6379"
|
||||
|
||||
redis-slave:
|
||||
image: gcr.io/google_samples/gb-redisslave:v1
|
||||
ports:
|
||||
- "6379"
|
||||
environment:
|
||||
- GET_HOSTS_FROM=dns
|
||||
|
||||
frontend:
|
||||
image: gcr.io/google-samples/gb-frontend:v4
|
||||
ports:
|
||||
- "80:80"
|
||||
environment:
|
||||
- GET_HOSTS_FROM=dns
|
||||
labels:
|
||||
kompose.service.type: LoadBalancer
|
||||
Loading…
Reference in New Issue
Block a user