Initial commit: noticeboard

This commit is contained in:
jtricerolph 2026-07-01 12:09:54 +00:00
commit d91e8ac96f
21 changed files with 807 additions and 0 deletions

15
.env.example Normal file
View file

@ -0,0 +1,15 @@
# Shared PostgreSQL on internal network (same at all sites)
DATABASE_URL=postgresql://noticeboard:CHANGE_ME@10.10.10.100:5432/noticeboard_db
# Shared HS256 secret — generate once, same value on all app LXCs
CENTRAL_AUTH_SECRET=CHANGE_ME
# Offsite access restriction — supports:
# 203.0.113.1 static public IP
# 203.0.113.0/28 CIDR range
# hnf.dyndns.org DDNS hostname (resolved + cached 5 min)
# disabled no restriction (use during setup/testing)
OFFICE_IP_CHECK=disabled
# Port the frontend nginx listens on (NPM proxies to this)
FRONTEND_PORT=3080