version: "2" services: redis-master: image: registry.k8s.io/redis:e2e ports: - "6379" redis-replica: image: registry.k8s.io/redis-slave:v2 ports: - "6379" environment: - GET_HOSTS_FROM=dns - RACK_ENV=development - SHOW=true - SESSION_SECRET frontend: image: gcr.io/google-samples/gb-frontend:v4 ports: - "80:80" environment: GET_HOSTS_FROM: dns RACK_ENV: development SHOW: 'true' SESSION_SECRET: