Database Setup
This page is dedicated to db setup via docker
Prerequisites
Docker Configuration
version: '3.8'
services:
db:
image: postgres
deploy:
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
environment:
POSTGRES_DB: #your_prefered_db_name
POSTGRES_USER: #your_prefered_username
POSTGRES_PASSWORD: #your_prefered_password
ports:
- 5432:5432
volumes:
- db:/var/lib/postgresql/data
volumes:
db:
driver: localDatabase Migrations with TypeORM
Seeds
Verification
Last updated