Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

glueops-rip/test-node-app

Repository files navigation

test-node-app

hello world node app to test docker / k8s deployment. The development environment allows for interactive applicaiton changes.

After running docker compose..., view the app by navigating to localhost:3000 in your browser.

Requirements

  • docker
  • docker compose

Usage

Development

Build

docker compose -f docker-compose.yml -f docker-compose.development.yml up -d --build

Teardown

docker compose -f docker-compose.yml -f docker-compose.development.yml down -v 

Production

Build

docker compose -f docker-compose.yml -f docker-compose.production.yml up -d --build 

Teardown

docker compose -f docker-compose.yml -f docker-compose.production.yml down -v

TODO

The development build creates an empty node_modules directory in your repo. It's annoying.

uat build mirrors production and, therefore, isn't included in instructions. Likely more work could be done here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published