Files
Autonomous-Bug-Explorer/docker-compose.yml

38 lines
701 B
YAML

services:
backend:
build:
context: .
dockerfile: Dockerfile
ports:
- "3001:3001"
env_file:
- .env
environment:
- PORT=3001
volumes:
- ./reports:/app/reports
- ./logs:/app/logs
- ./data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
interval: 30s
timeout: 10s
start_period: 5s
retries: 3
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "5173:80"
depends_on:
backend:
condition: service_healthy
restart: unless-stopped
networks:
default:
name: abe-network