Skip to content

Files

Latest commit

d5978ca · Aug 10, 2020

History

History
9 lines (6 loc) · 327 Bytes

Docker.md

File metadata and controls

9 lines (6 loc) · 327 Bytes

+ Bring up Containers

$ run docker-compose up -d in this directory.

Run Tests
docker exec -it python-redis-snippets python voting_articles.py

Why Using network_mode: "host"?
Because Redis host defaults to localhost in every redis.Redis(), you would otherwise have to specify host in every occurrence.