Initial commit

This commit is contained in:
2025-11-20 22:58:11 -05:00
commit 6d75c8e94e
51 changed files with 5141 additions and 0 deletions

29
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
version: '3.8'
services:
maze-generator:
build:
context: ..
dockerfile: docker/Dockerfile
container_name: maze-generator
ports:
- "5100:5000"
volumes:
- maze-data:/app/saved_mazes
- maze-images:/app/output_images
environment:
- FLASK_ENV=production
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:5000/api/algorithms')"]
interval: 30s
timeout: 3s
retries: 3
start_period: 10s
volumes:
maze-data:
driver: local
maze-images:
driver: local