feat: add user profile management with update and retrieval endpoints, enhance database setup for testing
This commit is contained in:
15
compose.yml
15
compose.yml
@@ -50,6 +50,21 @@ services:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
db_test:
|
||||
image: postgres:15-alpine
|
||||
container_name: thoughts-db-test
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: postgres
|
||||
ports:
|
||||
- "5434:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
|
Reference in New Issue
Block a user