services:
  # --- Backend Service ---
  backend:
    build: .
    container_name: canifa_backend
    env_file: .env
    ports:
      - "5000:5000"
    volumes:
      - .:/app
    environment:
      - PORT=5000
    restart: unless-stopped
    deploy:
      resources:
        limits:
          memory: 8g
    logging:
      driver: "json-file"
      options:
        tag: "{{.Name}}"
        
