March 2019
Beginner to intermediate
778 pages
34h 20m
English
Follow these steps:
$ git clone https://github.com/PacktPublishing/Google-Cloud-Platform-Cookbook
$ cd gcpcookbook/Chapter16/mysite-gke
PORT=8080 COOKIE_SECRET=<a very long string> MONGO_URI=mongodb://mongo/mysite
A custom port of 8080 is used for the KeystoneJS application. This port will be mapped to port 80 later in the Kubernetes service configuration. Similarly, mongo will be the name of the load-balanced MongoDB service that will be created later.
Read now
Unlock full access