services:
  bricktracker:
    container_name: BrickTracker
    restart: unless-stopped
    image: gitea.baerentsen.space/frederikbaerentsen/bricktracker:latest
    ports:
      - "3333:3333"
    volumes:
      - ./data:/app/data/
    # Configuration can be done via .env file
    # For new installations, place .env in data/ folder for persistence
    # For backward compatibility, .env in root is also supported
    # The app automatically detects and uses data/.env (priority) or .env (fallback)
    # env_file: ".env"  # Optional: Only needed if keeping .env in root for backward compatibility

