Initial commit: twin-optimiser sub-app (housekeeping category)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-02 20:14:01 +00:00
commit a695bd843f
28 changed files with 1913 additions and 0 deletions

18
.env.example Normal file
View file

@ -0,0 +1,18 @@
# PostgreSQL connection string for the twin optimiser DB
DATABASE_URL=postgres://user:pass@host:5432/twin_optimiser
# Shared secret used to verify hnf_session JWTs (same as auth service)
CENTRAL_AUTH_SECRET=change-me
# Settings service (for Newbook credentials)
SETTINGS_URL=http://settings-backend:3001
SETTINGS_SECRET=change-me
# Hotel name shown on the login page
VITE_HOTEL_NAME=Hotel Name
# Host port to expose the frontend on (default 3080)
FRONTEND_PORT=3080
# IP check: 'disabled', 'auto', a CIDR (192.168.1.0/24), or a hostname
OFFICE_IP_CHECK=disabled