Files
task_fraud_detection_bolade/docker-compose.yml
T
boladeE a70c0802ae Update project structure and configuration
- Enhanced .gitignore to include additional Python-related files.
- Updated docker-compose.yml to version 3.8, added container name, health check, and network configuration.
- Modified Dockerfile to set environment variables, install system dependencies, and add a health check.
- Updated requirements.txt with specific package versions.
- Removed obsolete files related to cloud deployment and experiments.
- Improved EDA notebook with additional data loading and exploration steps.
2025-04-25 17:53:04 +01:00

28 lines
606 B
YAML

version: '3.8'
services:
fraud-detection:
build: .
container_name: fraud-detection-api
ports:
- "8000:8000" # API
- "8501:8501" # Streamlit
volumes:
- ./data:/app/data
- ./models:/app/models
environment:
- PYTHONUNBUFFERED=1
- ENVIRONMENT=development
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
restart: unless-stopped
networks:
- fraud-detection-network
networks:
fraud-detection-network:
driver: bridge