1
0
mirror of https://github.com/docker/docs.git synced 2026-11-03 11:12:47 +03:00

Merge pull request #3136 from londoncalling/redis-in-example-explain

add detail on redis default port
This commit is contained in:
Victoria Bialas
2017-05-01 16:39:07 -07:00
committed by GitHub

View File

@@ -38,6 +38,8 @@ provided by Docker images.
if __name__ == "__main__":
app.run(host="0.0.0.0", debug=True)
In this example, `redis` is the hostname of the redis container on the application's network. We use the default port for Redis, `6379`.
3. Create another file called `requirements.txt` in your project directory and
paste this in: