docker run -i -t --name mymeanjs --link mymongodb:db_1 -p 80:3000 maccam912/meanjs:latest bash
I recently had come across this article, Running a MEAN web application in Docker containers on AWS. I'm researching containers for development work that can start in one place and then migrate into production as a docker file. So I spent an hour getting this up and running. In addition to the steps in the article, I found a few extra steps might make things work better.
1. Update Node. The maccam912 VM has an older version of node. It's an easy fix.
Having driven a 1966 VW bug, 1969 van, 1972 bug, dasher, 72 van, in my early years, then Lynda and I drove the van and Penelope till we got Goldie. Then Goldie died and we got snowball. Later we bought shadow our most expensive car to date. Shadow and Goldie served us for years till we got hit heading to La Verne. That lead us to Lexie. Lexie served is well until a furlough Friday when her transmission failed.
Going through these hundreds of snapshots, I'm reminded about some of our design principlles in going from the old house to new house. No 70's wallpaper, no vinyl floor patterns, easy cat cleanup, no electric range, no brown tile, no clutter, no slipping on bricks, no dark woods, no carpet, filtered air, filtered water, better and more lighting.
Even the cats got a new wall library out of the deal.
After we moved the propane tank, we knew we wante to stop using the wood burning stove and the old fireplace was never utilized. So, we did a fireplace insert with gas and we've never regretted it. I've updated the thermostat to work with our home automation tools and we can heat the front room in 10-15 mins. We used Woodstove and Sun and we'll use them again for the firepit supplies when that project gets scoped.