~/talk

Full-stack JavaScript development with Docker

Talkat JSConf Iceland 2016 · 2016-08-25..08-26· [devops-and-delivery]
slides:none on file

Node backend + React frontend runs inside Docker and achieves working live-reload by combining the new docker for mac and windows runtime, nodemon and a host-to-container bind mount; docker build uses npm-shrinkwrap for layer caching and docker run -v mounts source while a named volume for node_modules keeps Linux binaries isolated. docker-compose encapsulates ports and commands, allows docker-compose run npm install, and adds a proxy (haproxy/nginx) plus DNSMasq to resolve a .dev domain to localhost so the full stack routes and hot reload work.

AI-written summary · about

  1. 0:00Start
  2. 3:24running in a docker container
  3. 4:05write a docker file
  4. 5:35set an environment variable
  5. 7:55use cache versions of old containers
  6. 9:10build a a docker file
  7. 10:42map it to port 8000
  8. 13:39to write a compose file
  9. 14:25build from the current working directory
  10. 15:05copy your node modules into this linux environment
  11. 16:12run npm install inside the container
  12. 18:28run multiple copies of a container
  13. 19:19install a new dependency
  14. 21:23connect to a postgres database
  15. 31:23switch between pre-built images
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.