# 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= — cap per-repo size # Leave blank unless you have a reason. EXTRA_OPTIONS=