forked from LaconicNetwork/kompose
New guestbook example
This commit is contained in:
parent
9415a408df
commit
22c65c689c
19
examples/docker-guestbook.yml
Normal file
19
examples/docker-guestbook.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
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
|
||||||
Loading…
Reference in New Issue
Block a user