Files
accounting-system/docker-compose.yml
Invoice Master 05ea67144f feat: initial project setup
- Add .NET 8 backend with Clean Architecture
- Add React + Vite + TypeScript frontend
- Implement authentication with JWT
- Implement Azure Blob Storage client
- Implement OCR integration
- Implement supplier matching service
- Implement voucher generation
- Implement Fortnox provider
- Add unit and integration tests
- Add Docker Compose configuration
2026-02-04 20:14:34 +01:00

61 lines
1.3 KiB
YAML

version: '3.8'
services:
postgres:
image: postgres:15-alpine
container_name: invoice-master-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: invoice_master
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: invoice-master-redis
ports:
- "6379:6379"
volumes:
- redis_data:/data
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: invoice-master-backend
environment:
ASPNETCORE_ENVIRONMENT: Development
ConnectionStrings__DefaultConnection: Host=postgres;Port=5432;Database=invoice_master;Username=postgres;Password=postgres
ports:
- "5000:8080"
depends_on:
postgres:
condition: service_healthy
volumes:
- ./backend/src:/app/src
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: invoice-master-frontend
environment:
VITE_API_URL: http://localhost:5000/api/v1
ports:
- "5173:5173"
volumes:
- ./frontend:/app
- /app/node_modules
volumes:
postgres_data:
redis_data: