exposing redis and db ports in compose file
This commit is contained in:
parent
6461e31959
commit
a2db15831c
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user