exposing redis and db ports in compose file

This commit is contained in:
andy 2022-02-13 12:57:51 +00:00
parent 6461e31959
commit a2db15831c

View File

@ -1,4 +1,4 @@
version: "3.9" # optional since v1.27.0
version: "3.9"
services:
web:
build:
@ -12,5 +12,9 @@ services:
dockerfile: Dockerfile.CLI
redis:
image: redis:alpine
ports:
- "6379:6379"
database:
image: postgres
ports:
- "5432:5432"