# althing-chamber stack tunables. Copy to `.env` on ana-docker before deploying.
#
# The deploy playbook seeds `.env` from this template on first run only —
# it won't clobber an existing `.env`.

# Image tag. Built locally from the vh/althing git repo by the playbook.
ALTHING_IMAGE=althing-chamber:local

# Host port exposing the chamber UI (container always listens on 8000
# internally). Internal-only — no Traefik.
# Chamber's compiled-in default port is 7878 but that collides with
# task-board's 7878 on the same host. 7881 is the canonical fleet slot,
# adjacent to task-board:7878 and vor:7879.
ALTHING_PORT=7881

# Bind address for the host port. 0.0.0.0 = LAN-reachable (default for an
# internal-only tool).
ALTHING_BIND=0.0.0.0

# Host path for SQLite + state. Container runs as uid 1000 (matches
# lkraven on these hosts) so the playbook's mkdir without sudo produces
# a writable dir.
#
# This single dir is the only persistent state — althing's SQLite DB,
# read_cursors, notification_state, hand_queue, floor_grants all live
# here. Restic backs it up via the standard /opt/docker tree.
ALTHING_DATA_DIR=/opt/docker/conf/althing-chamber/data
