Skip to content

Demonstration of using Docker to orchestrate multiple services

License

Notifications You must be signed in to change notification settings

AL-DevOps/CodeWithDanDockerServices

 
 

Repository files navigation

Docker Services Orchestration Demonstration

This is a demo application from the Docker for Web Developers course on Pluralsight that demonstrates how multiple services can be integrated and orchestrated using Docker and Docker Compose.

  1. Install Docker for Mac or Docker for Windows from https://docker.com

  2. Set APP_ENV environment variable (using "set" rather than "export" for Windows):

    export APP_ENV=development

  3. Set your Docker Hub account (any string value will work if you don't have an account):

    export DOCKER_ACCT=<yourHubUserName>

  4. Run docker-compose build

  5. Run docker-compose up

  6. Visit https://localhost in a browser

  7. Live long and prosper

Note: You won't see any data in the page that displays in the browser. To seed the database run the following:

docker exec -it node-codewithdan-1 sh

node dbSeeder.js

Type exit and press ctrl-c to exit the shell. You can close the dbSeeder command prompt once you're done.

About

Demonstration of using Docker to orchestrate multiple services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.2%
  • SCSS 21.4%
  • Handlebars 20.5%
  • Dockerfile 4.5%
  • Shell 4.2%
  • CSS 2.2%