# rest-server-ana stack tunables. Copy to `.env` on ana-docker. # # cp .env.example .env # # edit if needed # docker compose up -d # # Matches stacks/rest-server-nh3/.env.example — keep them aligned so # restic clients see the same URL shape against either endpoint. REST_SERVER_VERSION=latest # Host port the container listens on (container internal is 8000) REST_PORT=8000 # Where restic pack files live. TrueNAS NFS share is already mounted at # /mnt/backup on ana-docker; the "repo/ana" subdir is the historical # location used by the prior (non-private-repos) rest-server. # # With --private-repos, layout becomes: # ${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=/mnt/backup/restic/repo/ana # UID/GID the container process runs as. Must match the owner of # DATA_DIR so NFS root_squash doesn't bite. On ana-docker this is the # `lkraven` user (1000:1000). REST_UID=1000 REST_GID=1000 # Timezone — affects log lines and /metrics timestamps TZ=America/Los_Angeles # Extra rest-server flags. Examples: # --prometheus-no-auth — make /metrics public (needed if Beszel or # Prometheus scrapes without creds) # --no-verify-upload — trust the client's hash; faster writes # Leave blank unless you have a reason. EXTRA_OPTIONS=