Added database config and docker image.

This commit is contained in:
mikestefanello 2021-12-10 08:49:15 -05:00
parent 590910bc41
commit 259c666548
2 changed files with 29 additions and 5 deletions

View file

@ -1,7 +1,15 @@
version: "3"
services:
redis:
cache:
image: "redis:alpine"
ports:
- "6379:6379"
- "6379:6379"
db:
image: postgres:alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
- POSTGRES_DB=app