docker: production image + Gitea Actions for monthly refresh
Image rebuild (skip scrape) / build (push) Failing after 1h37m12s

Dockerfile: self-contained image with corpus + Chroma + BM25 baked
in. Drawbar's compose pulls + runs without volume mounts. Built from
sources.json (labels schema), PRODUCT_NAME=crop_chem by default,
HYBRID_SEARCH=true (always-on for production quality). RERANK_URL +
OLLAMA_URL get set at compose time.

.gitea/workflows/refresh.yml: monthly cron (1st @ 06:00 UTC) does
full scrape → reindex → image push. Scrapes Bayer (~30 min) +
EPA PPLS row-crop filtered (~7h). Skips reindex+push if no corpus
diff. Tags pushed: :latest, :<sha12>, :corpus-<YYYY.MM.DD>.

.gitea/workflows/image-only.yml: on-demand or auto on code-only
pushes to main (paths: docs_mcp/, rag/, scrape/, requirements.txt,
Dockerfile, sources.json). Reindexes from committed corpus, builds
image, pushes. ~10 min vs ~9h full refresh.

.gitignore: corpus/ now COMMITTED (4,159 labels, 265 MB of .md +
sidecars). Lets image-only.yml rebuild indexes without re-scraping.
chroma/ + bm25/ still gitignored (regenerable binary indexes).

.dockerignore: drops venv, eval results, PLAN/README/CLAUDE.md,
deploy/, .git/ — keeps the image lean. corpus + chroma + bm25
explicitly NOT in dockerignore (those go INTO the image).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-24 12:32:41 -04:00
parent 1a45280e45
commit a97107de46
8323 changed files with 5273594 additions and 133 deletions
+279
View File
@@ -0,0 +1,279 @@
# RIVERSIDE 5% ROTENONE
- EPA Reg No: **9779-118**
- Registrant: WINFIELD SOLUTIONS, LLC
- Signal word: Caution
- Active ingredients: Rotenone (5%)
- Label accepted: 1968-08-06
- Source PDF: https://www3.epa.gov/pesticides/chem_search/ppls/009779-00118-19680806.pdf
---
..
l) I' l •. ' . '
... 1.. J l· ..•
, , .
\
; , 1:. :.
'."
,
... ... ".'
j ,:.~. l. : 1
,\7( .•. ___ A 11 __ • '< . - ..... .. :
t.! ." ,
!)] :~~. ("
r·· . I I ~ ; )
• • , .• J
, . 1 U; I,.!
,. l •
loJ!..;
t! I; It
v,illv
l.;;r ~.J '~'.
C' y)Ylo- •• ("'
.. ~~ .J V ....... I
" " , " .. ' . ,
, .
'v V.
."
1 . I ..
('C" 1 ',., ~"
"I t ",(.~. ( ,v 'l I. •
, ,
f'
,-, .
• • ~ \..
, "
: ! ~
~ • ( I \1" ", .. ' l' ... ,. j ,
L~fltJ'.·I·'"
:)
\
!
, , . '
, I,,,',
C' . '-..' i':'
\
)
. '
T ,
J' Or, r""
- - • \' I.
Cr"T ·-<".',r
ACCEPTEO-
•• l,
, " T r"
FJ c(:
Cl""; .. ...... -'
,C
1
r , •
11 ,' .. ",
!- ..: ~ c; ,
l, , -(
Cue';'
(y,-,"" • • J, _ ...
-
" . ~
." - '.'
( "I ~ ........ ~ , . . -'. / .. '
":"'4- I"
~,v1 '.,
~,
• 'I ~ r ,. .... ,
t.. !
.. ". .... ~,
..... ,." ",' ,",. r' .. ..
" r'
J . \ l:-~' :': . .,
C( : ( J ... '
, .. , ' r' .r • ~,
1.
. , .
., r r· : l' • ..,," , . ~ _ I ~ ••. _.1 \, ~ .' v
,'. )
.. -,'
"
, ' ,
. '
,.- ......
-', .-,
~_ r'
) ,
, cr .!t.l·.\~:; , . c;- '~ . ""~ " I r i
.. ,~'
l
J -, _
, r r, .-. ..
G ,-.',' " .... b • _.)
r"'-~l"~.,r.
l~·" __ .'
s •
PC';' ""'\'..- '. " ",
r \"... "". \. ••
-
• ',' ( , '""
','
, .,
C~.
",.., "
, . , '
"
• 1
, ,
I.
'( ,1 : ..... I l. "\"\~':"I" . ,......... , , . ...­
, .' -' . '
'J('II" ....
T L .• ,.
. ,
." "'.
" " l' " ,
" ,( I ~~, : •
I
r> •
..
, , ,"
,~ '(' ,
r t, .c:
\"., A _ ; 1,..' , 'I'
... ..".
j ,
... t' ." .' •
< .... t. _ ....
p •.. , , " ., , "
I ')1(>" f •. . ~, , ,
~ 1,- . •. \..' .. -
Sc}] C'~'
~ ''-, , .... " •• l.. .... .1 ~_
,. "','" ~ r" J. ' .... 1 .... ~
"
r
I ()-••
.. '." .
,
t..'J
" ,
. \,.' ,,-:
cr:. ;
, '
l-: 6" •
, , , ... ' .. -
.. ,
,-or C ~ ~ -"'1" .or-,).'-", .... _ •• : I....,. __ i •• l. .......
C' ...... ', ~
- ...... , ,
., .-..1 "lo"'ll' , •• 4_
, "., - ., ..... '.../-
"
. ' " ,,- t: .
, ' , ,
, " V, • . . ~ . , , .
" . ( . _. ..,. ~
1-. _.'. ,-. ,1 ' .. :
.. ~ .
j ,--"",
... ' I ~ •
i .. . ..... '
..
, ,
,
r.,.,,4'r'~.·
\.. \ .. _.'
,1
( r>
. ,
, ,
. , . ,
( , ... " ,
,
r "
~
c
1
','
, L': " '
, ,,'
C'~ ,
l~ (''1
, '
l~ ,
~,-.~" r-· .... '..... V _'J,
v' " ,
, . ~ ..
-~. ,
, (
, '\
." ,
• . ' , . .' ,I
... ,\.- .
"
'.,
',' "
r :
... 1. 4 l~,n ! ..
',",'J ~.'-.
, .-."",
r /', '-'
. .,.J. l..-:.
,
, . , ',-
C
o ..
, 0
, ,
, ,
,. ,
. ( .. '
~ '-'
, ' ... ...- .
.... " ,f' , " /", ,'" , r ,1 - ., .• ';. ""' , " --'
, ,'"
... ~~ "
j ;
1 ... \,
: . " -•
,
,-" ......
',' .. , .. ~ .. , .. , '
..
..... '
i -
l
In:
' ..
, .
\
\
~ ,
,,"/
fI'-
t.O II'.
TO ~, ~ f\'
__ r-.---
" ,
" I
, , '
/. :
If·
)L
_ Act
, " jO,l)O,SlER.
~/' • "I -1J SA,lwE.C't : ,1/ ~ •
, :\oI:,H:.N1S.
0',
.... " . ')- .. ., ... . .. . - ' ... " ,
.. r-; ,
. !..
',-
J
" -