Files
hotel/.env.example
DanielS 1e9daa8858 Add Windows test-server setup behind nginx
- docker-compose.server.yml: app on APP_BIND for an existing nginx proxy,
  QLO_SSL passed to the container
- docker/setup-testserver.ps1: one-shot setup for Docker Desktop/WSL
  (random .env secrets, CLI install that never reinstalls over an
  existing shop, German texts, optional demo content, hardening)
- docker/harden-test-server.php: delete demo customer pub@qloapps.com,
  disable webservice API keys, set SSL mode, deny module log folders
- docker/nginx-qloapps.conf: HTTPS + basic auth + X-Forwarded-Proto
- apache: deny /modules/*/logs/ (qlocmconnector logs API secrets)
- docker/TESTSERVER.md: Windows Server guide (German)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 00:45:15 +01:00

20 lines
698 B
Plaintext

# Copy to .env for local development. Local test values only, never use in production.
APP_PORT=8080
DB_NAME=qloapps
DB_USER=qloapps
DB_PASSWORD=qlo_local_dev
DB_ROOT_PASSWORD=qlo_local_root
# Local admin created by the CLI installer (test values only)
ADMIN_EMAIL=admin@hotel.test
ADMIN_PASSWORD=change-me
# Test server only (docker-compose.server.yml)
# Public host name as nginx serves it, without https:// (QloApps stores it in the DB)
SHOP_DOMAIN=test.example.de
# Address:port the app listens on for nginx. Use the LAN IP of the Windows server
# if nginx runs on another machine, or 127.0.0.1:8080 if nginx runs on the same host.
APP_BIND=0.0.0.0:8080
# 1 when nginx serves HTTPS
QLO_SSL=1