Repository navigation
feat(release): v0.3.3 release prep — Dockerfile + docker-compose + README update - #81
Merged
Merged
Conversation
…ADME full update - Dockerfile: multi-stage (rust:1.86-slim builder → debian:bookworm-slim runtime), non-root USER 10001, WORKDIR / (relative db_path resolves to /data volume), ui/ at /ui for ServeDir, CMD with /etc/aitokenpool/config.toml, ATP_MASTER_KEY env injectable (crypto env-first) - docker-compose.yml: build . + 8080:8080 + ./data:/data volume + ATP_MASTER_KEY env (openssl rand -hex 32) + curl /healthz healthcheck - README: v0.3.0 → v0.3.3 — P0-A/B/C + P1 + P2-A/B/C status, 70 tests, quick start (cargo / docker / browser), three seed accounts (demo/admin/ops), full API endpoint list, env vars, feature matrix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release prep for v0.3.3 (P0-P2 all complete, 70/70 tests): Docker deployment + full README update + version tag.
Changes
rust:1.86-slim→cargo build --release --locked; runtimedebian:bookworm-slimwith binary +ui/+config.example.toml, non-rootUSER 10001,EXPOSE 8080,CMD aitokenpool --config /etc/aitokenpool/config.toml;ATP_MASTER_KEYenv injectable (crypto reads env first); WORKDIR/so relativedb_path = data/aitokenpool.dbresolves to the mounted/datavolume.aitokenpool— build ., ports8080:8080, volume./data:/data(SQLite persistence), envATP_MASTER_KEY=${ATP_MASTER_KEY:-dev-master-key-请替换}, healthcheckcurl /healthz, restart policy; comments note production must setATP_MASTER_KEY(openssl rand -hex 32).Verification
cargo test: 70 passed / 0 failedcargo fmt --check: cleancargo clippy --all-targets -- -D warnings: cleancargo build --release --locked: OKdocker build: OK (imageaitokenpool:0.3.3)GET /healthz→{"status":"ok","version":"0.3.3"}200; UIGET /200; demo/admin login OK;/api/me+/api/walletOK; DB persisted to mounted./data(survives restart)Related Issue
rant 2026-08-18T14:55:51 (发布准备 — Docker 部署 + README 更新 v0.3.3 + git tag)
Tests
cargo test全部通过cargo fmt --check通过Checklist