Example Express/Redis on Docker Compose app
Requirements: Tilt
To start the app run:
tilt up
Tilt will assemble an image, deploy the app, and live update using Docker Compose.
View the app at http://localhost:3000/
When you make a change to server.js, Tilt will sync the file to the container and restart the app.
For more details on how this works, see the Tilt Docker Compose documentation.
Endpoints
Hello World
curl http://localhost:3000Storing Data
curl http://localhost:3000/store/my-key\?some\=value\&some-other\=other-valueFetching Data
curl http://localhost:3000/my-keyCourtesy of this original sample app.
On this page
Languages
Python73.0%JavaScript24.3%Dockerfile2.8%
Contributors
Created August 4, 2020
Updated August 4, 2020