mirror of https://github.com/docker/docs.git
Merge pull request #3136 from londoncalling/redis-in-example-explain
add detail on redis default port
This commit is contained in:
commit
fe478717e5
|
|
@ -38,6 +38,8 @@ provided by Docker images.
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(host="0.0.0.0", debug=True)
|
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
|
3. Create another file called `requirements.txt` in your project directory and
|
||||||
paste this in:
|
paste this in:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue