раскидал структуру для монорепозитория

This commit is contained in:
arrelin
2025-12-09 18:31:45 +03:00
parent 7e1e89424a
commit aadbc099b0
48 changed files with 4048 additions and 5 deletions

View File

@@ -20,22 +20,34 @@ services:
networks:
- app_network
app:
backend:
build:
context: .
context: ./backend
dockerfile: Dockerfile
container_name: family_budget_app
container_name: family_budget_backend
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
RUST_LOG: ${RUST_LOG:-info}
ports:
- "${APP_PORT:-8080}:8080"
- "3000:3000"
depends_on:
postgres:
condition: service_healthy
networks:
- app_network
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: family_budget_frontend
ports:
- "5173:5173"
depends_on:
- backend
networks:
- app_network
volumes:
postgres_data:
driver: local