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.
docker
docker compose
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
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
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.