Added info instruction

Signed-off-by: ajeetraina <ajeetraina@gmail.com>
This commit is contained in:
ajeetraina 2022-03-05 12:38:32 +05:30
parent c14b80becd
commit 8944393962

View File

@ -53,7 +53,10 @@ services:
``` ```
The compose file defines an application with four services `redis`, `web`, `web1` and `web2`. The compose file defines an application with four services `redis`, `web`, `web1` and `web2`.
When deploying the application, docker-compose maps port 80 of the web service container to port 80 of the host as specified in the file. When deploying the application, docker-compose maps port 80 of the web service container to port 80 of the host as specified in the file.
Redis runs on default port 6379. Make sure port 6379 on the host is not being used by another container, otherwise the port should be changed.
> **_INFO_**
> Redis runs on port 6379 by default. Make sure port 6379 on the host is not being used by another container, otherwise the port should be changed.
## Deploy with docker-compose ## Deploy with docker-compose