Prediksi-Karyawan-Resign / docker-compose.yml
fendy07's picture
Add model, gradio app, and documentation files
177e42b
raw
history blame contribute delete
563 Bytes
version: '3.13'
services:
hr-analytics-app:
build: .
container_name: hr-analytics-gradio
ports:
- "7860:7860"
environment:
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_SERVER_PORT=7860
volumes:
- ./logs:/app/logs
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
# Usage:
# Build: docker-compose build
# Run: docker-compose up -d
# Stop: docker-compose down
# Logs: docker-compose logs -f