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: services:
web: web:
build: build:
@ -12,5 +12,9 @@ services:
dockerfile: Dockerfile.CLI dockerfile: Dockerfile.CLI
redis: redis:
image: redis:alpine image: redis:alpine
ports:
- "6379:6379"
database: database:
image: postgres image: postgres
ports:
- "5432:5432"