Files
KCAPDemoServer/docker-compose.yml
Matt Hills 2bf87e6d72 Add Docker support and update README with deployment options
- Add Dockerfile with multi-stage build for production deployment
- Add docker-compose.yml for easy local development
- Add .dockerignore to optimize Docker build context
- Update README with Docker and local setup instructions
2025-10-20 19:54:33 -04:00

20 lines
506 B
YAML

version: '3.8'
services:
web:
build: .
container_name: kcap-demo-server
ports:
- "5555:5555"
environment:
- FLASK_DEBUG=1
env_file:
- .env
volumes:
# Mount static directories for persistent storage
- ./src/app/static/images:/app/src/app/static/images
- ./src/app/static/barcodes:/app/src/app/static/barcodes
# Mount instance directory for database persistence
- ./src/app/instance:/app/src/app/instance
restart: unless-stopped