Prepare for public git: .gitignore, .env, sanitized configs
- Add .gitignore excluding .env, __pycache__, test_files (copyrighted PDFs), session logs, marker/ submodule, and other generated/private files - Add .env with local config (gitignored); expand .env.example with all supported environment variables - docker-compose.yml: all hardcoded values now use default pattern - Containerfile: install marker-pdf from GitHub instead of local submodule; fix AMD_COMPUTE default to false; sanitize default OLLAMA_HOST - Remove marker/ submodule from git tracking (keep local checkout via .gitignore) - Remove session transcript and copyrighted ENISA PDFs from git tracking - Sanitize local IPs in README, kubernetes deployment, deploy-podman.sh - Fix hardcoded paths in convert_both.py and compare_conversions.py - Update requirements.txt to reference GitHub instead of local --editable
This commit is contained in:
@@ -6,7 +6,7 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: marker-api-config
|
||||
data:
|
||||
OLLAMA_HOST: "http://10.0.1.127:11434"
|
||||
OLLAMA_HOST: "http://ollama-service:11434" # adjust to your Ollama endpoint
|
||||
DEESEEK_OCR_MODEL: "deepseek-ocr"
|
||||
AMD_COMPUTE: "false"
|
||||
TORCH_DEVICE: ""
|
||||
|
||||
Reference in New Issue
Block a user