25aa001135
P0-01 Go module + cmd/server + cmd/agent skeletons + internal/ tree
P0-02 LICENSE (PolyForm NC 1.0.0), README, CONTRIBUTING
P0-03 golangci-lint, pre-commit, .editorconfig, .gitignore
P0-04 Gitea Actions CI: test (race+coverage), lint, cross-platform build matrix
P0-05 Dockerfile.server (multi-stage, distroless/static), docker-compose.yml
P0-06 Makefile with build/test/lint/fmt/run/release targets
build, vet, test, and cross-compile to linux/{amd64,arm64} + windows/amd64
all verified locally.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
566 B
YAML
19 lines
566 B
YAML
# Reference deployment for the restic-manager control plane.
|
|
# Mirrors spec.md §10.1. Adjust image tag and RM_BASE_URL for your env.
|
|
services:
|
|
restic-manager:
|
|
image: ghcr.io/dcglab/restic-manager:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8443:8443"
|
|
volumes:
|
|
- ./data:/data
|
|
- ./certs:/certs:ro
|
|
environment:
|
|
- RM_DATA_DIR=/data
|
|
- RM_LISTEN=:8443
|
|
- RM_BASE_URL=https://restic.lab.example
|
|
- RM_TLS_CERT=/certs/fullchain.pem
|
|
- RM_TLS_KEY=/certs/privkey.pem
|
|
- RM_SECRET_KEY_FILE=/data/secret.key
|