services:
  backend:
    build: ./backend
    container_name: kira-backend
    env_file: .env
    volumes:
      - ./.env:/app/.env:ro
    ports:
      - "8000:8000"
    restart: unless-stopped
    networks:
      - kira-net

  frontend:
    build: ./frontend
    container_name: kira-frontend
    ports:
      - "3000:80"
    depends_on:
      - backend
    restart: unless-stopped
    networks:
      - kira-net

networks:
  kira-net:
    driver: bridge
