feat(deploy): Docker image + Komodo compose stack + Gitea CI pipeline
- Dockerfile: node:24-alpine builds frontend/dist, python:3.13-slim runs backend.main as uid 1000 under tini; state on /data via env overrides - compose.yaml: raw 9000:9000 for the charger's hardcoded ws:// dial-in, Traefik labels for the panel, everything Komodo-tunable (ARTIOT_TAG/HOST, TRAEFIK_NETWORK, entrypoint, certresolver), curl healthcheck - .gitea/workflows/build.yml: build -> 65-check smoke gate in the image -> push :main + :sha to git.infra.msai.al/art/charging_station -> HMAC-signed Komodo stack redeploy (polymarket-bot pattern; same secret names)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# keep the build context lean — only backend/ and frontend/ sources matter
|
||||
.git/
|
||||
.gitea/
|
||||
venv/
|
||||
wiki/
|
||||
discovering/
|
||||
log.json
|
||||
CLAUDE.md
|
||||
compose.yaml
|
||||
|
||||
# built/installed inside the image, never copied in
|
||||
frontend/node_modules/
|
||||
frontend/dist/
|
||||
frontend/tsconfig.tsbuildinfo
|
||||
|
||||
# runtime state — must never leak into an image
|
||||
backend/backend.db
|
||||
backend/events.jsonl
|
||||
backend/config.json*
|
||||
**/__pycache__/
|
||||
Reference in New Issue
Block a user