Update app and ignore local artifacts

This commit is contained in:
2026-09-04 12:59:28 +05:30
parent 8120ebb927
commit e6884a148b
56 changed files with 4419 additions and 370 deletions

33
docker-compose.yml Normal file
View File

@@ -0,0 +1,33 @@
services:
api:
build:
context: .
dockerfile: backend/Dockerfile
restart: unless-stopped
environment:
PORT: 4000
volumes:
- college-kit-data:/app/backend/data
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://localhost:4000/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"]
interval: 10s
timeout: 3s
retries: 5
start_period: 5s
web:
build:
context: .
dockerfile: Dockerfile
args:
EXPO_PUBLIC_API_URL: /api/v1
restart: unless-stopped
depends_on:
api:
condition: service_healthy
ports:
- "8080:80"
volumes:
college-kit-data:
name: college-kit-data