c0eb0d3916
- Removed deprecated search logic and replaced it with a new structure for handling researcher statistics. - Introduced new schemas for batch search requests and responses. - Enhanced the search endpoint to return publication statistics alongside researcher data. - Updated docker-compose file to remove unnecessary versioning.
51 lines
944 B
YAML
51 lines
944 B
YAML
services:
|
|
|
|
backend:
|
|
build: ./backend
|
|
container_name: orcid-backend
|
|
restart: always
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
- ./backend/.env
|
|
environment:
|
|
DATABASE_URL: postgresql://postgres:postgres@db:5432/orcid_db
|
|
REDIS_URL: redis://redis:6379/0
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
|
|
frontend:
|
|
build: ./frontend
|
|
container_name: orcid-frontend
|
|
restart: always
|
|
ports:
|
|
- "5173:5173"
|
|
depends_on:
|
|
- backend
|
|
env_file:
|
|
- ./frontend/.env
|
|
|
|
db:
|
|
image: postgres:16
|
|
container_name: orcid-postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: orcid_db
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:7
|
|
container_name: orcid-redis
|
|
restart: always
|
|
ports:
|
|
- "6379:6379"
|
|
|
|
volumes:
|
|
postgres_data:
|