Commit Graph
18 Commits
Author SHA1 Message Date
marvinandClaude Sonnet 5 d634573dd6 Add .dockerignore files for api and caddy
Both use an allowlist so only the files each Dockerfile copies are sent
to the build context. For caddy this keeps the TLS certificates and keys
in data/ and config/ out of the context; for api it skips training code,
datasets, saved models and caches.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 19:03:26 +02:00
marvinandClaude Sonnet 5 121d8a8ab4 Make upload limit and Caddy settings configurable via env vars
- API: read the upload size limit from MAX_UPLOAD_MEGABYTES (default 15)
  and keep MAX_UPLOAD_BYTES as the byte value used by /predict
- Caddy: read the ACME email and request body limit from CADDY_EMAIL and
  CADDY_MAX_BODY (default 16MB, ~1 MB above the API limit)
- compose: pass the new variables to caddy_proxy and cnn_api

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-24 19:01:42 +02:00
marvin 9430a32250 changed caddy email 2026-09-24 05:03:37 +02:00
marvin cb9cf07842 upgraded config 2026-09-23 05:58:10 +02:00
marvin c25e8b5c0a better review design, caddy now listens on localhost too 2026-05-14 20:54:13 +02:00
marvin 1c53399488 changed caddy dockerfile 2026-05-12 18:19:04 +02:00
marvin a077f3ff0c disable caddy logging 2026-05-12 18:03:48 +02:00
marvin cdfb47826f fixed caddy bug 2026-05-11 22:24:13 +02:00
marvin f2027e6154 fixed caddy bug 2026-05-11 22:20:03 +02:00
marvin e8882810b5 fixed caddy bug 2026-05-11 22:06:51 +02:00
marvin a4a5caa836 fixed caddy bug 2026-05-11 22:00:41 +02:00
marvin 99482a0709 added loging to caddy 2026-05-11 21:58:59 +02:00
marvin 50fa649fc8 added certificate volume 2026-05-07 18:03:52 +02:00
marvin 3b1fa3ec37 caddy bug fix 2026-05-07 17:57:04 +02:00
marvin 7c44faa916 added portfolio domain to caddy 2026-05-07 17:48:06 +02:00
marvin ccb88f3dd5 changed caddy file 2026-05-06 19:39:58 +02:00
marvin 3154a5210e changed caddy file 2026-05-06 19:35:43 +02:00
marvin ee2d7ab710 added caddy container 2026-05-06 19:29:54 +02:00