https://github.com/fancellu/docker-composenoderedis
A nodejs express web app talking to Redis inside Docker, via docker-compose
https://github.com/fancellu/docker-composenoderedis
docker docker-compose nodejs redis
Last synced: 4 months ago
JSON representation
A nodejs express web app talking to Redis inside Docker, via docker-compose
- Host: GitHub
- URL: https://github.com/fancellu/docker-composenoderedis
- Owner: fancellu
- Created: 2020-02-03T19:08:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-01T16:38:32.000Z (over 1 year ago)
- Last Synced: 2025-06-03T10:54:31.489Z (about 1 year ago)
- Topics: docker, docker-compose, nodejs, redis
- Language: JavaScript
- Size: 61.5 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A nodejs express web app talking to Redis inside Docker, via docker-compose
You need to have Docker installed
## To run/build
`docker-compose up --build`
In the background
`docker-compose up --build -d`
To stop in background
`docker-compose down`
## Browser
Point browser at localhost:8081/visit
You should see the number of visits, as stored in redis.
To crash the node server goto localhost:8081/crash
You'll see that is crashes, but recovers, localhost:8081 still works fine