Postgres db integration.
This commit is contained in:
15
src/compose.yaml
Normal file
15
src/compose.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_USER: nassella
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_DB: nassella
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready", "-U", "nassella"]
|
||||
interval: 1s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
ports:
|
||||
- "5432:5432"
|
||||
Reference in New Issue
Block a user