Files
kniha_jizd_web/docker-compose.yml
Docker Config Backup 3b5d9fd940 Initial commit - Journey book (kniha jízd) automation system
Features:
- FastAPI backend for scraping attendance and journey book data
- Deterministic kilometer distribution with random variance
- Refueling form filling with km values
- Next.js frontend with date range selector
- Docker deployment setup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 15:41:11 +02:00

35 lines
770 B
YAML

version: '3.8'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: kniha-jizd-backend
ports:
- "0.0.0.0:8002:8002"
environment:
- PYTHONUNBUFFERED=1
env_file:
- ./backend/.env
volumes:
- ./backend:/app
command: uvicorn api.main:app --host 0.0.0.0 --port 8002 --reload
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: kniha-jizd-frontend
ports:
- "0.0.0.0:3000:3000"
environment:
- NEXT_PUBLIC_API_URL=http://100.110.142.68:8002
volumes:
- ./frontend:/app
- /app/node_modules
- /app/.next
command: npm run dev
depends_on:
- backend