Files
ORCID2SWORD/docker-compose.yml
T
Mireya Cueto Garrido 7717e2a5b2 feat: initialize frontend with React and Vite setup
- Add main application structure with App component
- Implement state management for counter functionality
- Create CSS styles for application layout and components
- Include assets for logos and hero image
- Set up Vite configuration for development environment
- Establish global CSS variables for theming
2026-04-16 09:55:10 +02:00

51 lines
977 B
YAML

version: "3.9"
services:
backend:
build: ./backend
container_name: orcid-backend
restart: always
ports:
- "8000:8000"
environment:
DATABASE_URL: postgresql://postgres:postgres@db:5432/orcid_db
ORCID_CLIENT_ID: ${ORCID_CLIENT_ID}
ORCID_CLIENT_SECRET: ${ORCID_CLIENT_SECRET}
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
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: