This simple app is built in order to run a couple tests to practice setting up CircleCI and Heroku.
The CircleCI pipeline. Deployed App.
This create-react-app
was containerized using this tutorial.
docker run \
-it \
--rm \
-v ${PWD}:/app \
-v /app/node_modules \
-p 3001:3000 \
-e CHOKIDAR_USEPOLLING=true \
joebumbulis/cci-react-demo-app
-it
interactive mode--rm
removes container and volumes after container exits-v ${PWD}:/app
mounts the code into the container at "/app"-v /app/node_modules
in order to use the container version of the node_modules folder, we configured another volume: -v /app/node_modules. Thus, you should be able to remove the local "node_modules" folder.-p 3000:3000
exposes port 3000
View application at external IP: 35.199.47.162:3000
-
This application is deployed to GKE and the image is stored on GCP.
-
Commands for gcloud:
gcloud projects list
- to get list of gcloud of projectsgcloud container clusters list
- get list of clusters along with infokubectl config current-context
- to get current cluster contextkubectl get services
- access the application, get IP's for services
- Orb - Slack
- Slack Integration Blog
- Slack Setup on Github