Sign inSign up

kubeguide/guestbook-php-frontend

By kubeguide

•Updated about 10 years ago

Guestbook PHP website

Image
25

1M+

kubeguide/guestbook-php-frontend repository overview

tag: latest

  1. use either ENV or DNS to access redis master and redis slave services in frontend-rc.yaml, set env GET_HOSTS_FROM for container: if value = 'env', frontend will use ENV variable 'REDIS_MASTER_SERVICE_HOST' and 'REDIS_SLAVE_SERVICE_HOST' to access the redis services. e.g.   env:   − name: GET_HOSTS_FROM     value: env if not set, frontend will use DNS service name 'redis-master' and 'redis-slave' to access the redis services. in this case, you need to start skydns in Kubernetes cluster first.
  1. add google's angular.min.js, bootstrap.min.css and ui-bootstrap-tpls.js files in /var/www/html directory inside the image. for those who have difficulties connecting google's website.

tag: localredis

this version is used to combine kubeguide/redis-master container into one Pod. kubeguide/guestbook-php-frontend:localredis will use "localhost:6379" to access redis-master within the same Pod.

Tag summary

Content type

Image

Digest

sha256:195181e02…

Size

171.1 MB

Last updated

about 10 years ago

docker pull kubeguide/guestbook-php-frontend