add docker and prisma
This commit is contained in:
16
backend/docker-compose.yml
Normal file
16
backend/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: '3.8'
|
||||
|
||||
|
||||
services:
|
||||
|
||||
postgres-db:
|
||||
image: postgres:15.3
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
ports:
|
||||
- 5433:5432
|
||||
Reference in New Issue
Block a user