e376d0aec9
Captures the full workspace state built up to this point:
- CLAUDE.md + README.md describing conventions and the four-host fleet
(ana-ml2, ana-docker, nh3-docker, esh-docker-vm).
- Per-host notes under servers/<host>/ with ssh-target fallback files
and latest system-details snapshots (two in-compose credential leaks
scrubbed; the upstream compose files still need to move those to .env).
- scripts/: server_inspect.sh (read-only remote diagnostic),
refresh-server-info.sh (dir-driven discovery + snapshot capture with
validation warnings), add-host.sh, sync-stacks.sh (pull
compose/conf trees), deploy-stack.sh (push with per-file diff + prompt).
- stacks/: canonical compose for backrest, beszel, dozzle, llama-swap,
rest-server-ana, rest-server-nh3, vllm-qwen3, plus the retired
infinity reference. All use the .env-driven + traefik-net + homepage
label pattern.
- configs/restic/ana-docker/: first resticprofile config + pre-backup
hook (Synapse pg_dump, Seafile mysqldump, Vaultwarden SQLite); templates
for the other three hosts to come.
- docs/pfi/: general infrastructure reference carried over.
- .gitignore excludes .env, stacks-mirror/, and assorted secret/state
filenames to prevent re-leaks on later commits.
36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# rest-server (NH3 Synology) tunables. Copy to `.env` on the Synology.
|
|
#
|
|
# cp .env.example .env
|
|
# # edit if needed
|
|
# docker compose up -d
|
|
#
|
|
# Synology-specific notes:
|
|
# - Put this stack under /volume1/docker/compose/rest-server/
|
|
# (Container Manager's default project root pattern on DSM 7.x).
|
|
# - Point DATA_DIR at a Btrfs share you own — /volume1/Backup/restic
|
|
# is the natural choice since /volume1/Backup is already the
|
|
# fleet-facing backup share (exported via NFS).
|
|
|
|
REST_SERVER_VERSION=latest
|
|
|
|
# Host port the container listens on (container internal port is 8000)
|
|
REST_PORT=8000
|
|
|
|
# Where restic pack files live on the Synology. Must be a writable
|
|
# Btrfs path. Will hold one subdir per user (--private-repos layout):
|
|
# ${DATA_DIR}/ana-docker/
|
|
# ${DATA_DIR}/ana-ml2/
|
|
# ${DATA_DIR}/nh3-docker/
|
|
# ${DATA_DIR}/esh-docker-vm/
|
|
# Plus the auth file at ${DATA_DIR}/.htpasswd.
|
|
DATA_DIR=/volume1/Backup/restic
|
|
|
|
# Timezone — affects log lines and the /metrics timestamps
|
|
TZ=America/Los_Angeles
|
|
|
|
# Any extra rest-server flags (rare). Some useful ones:
|
|
# --no-verify-upload — trust the client's hash; faster writes
|
|
# --max-size=<bytes> — cap per-repo size
|
|
# Leave blank unless you have a reason.
|
|
EXTRA_OPTIONS=
|