- 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>
17 lines
555 B
YAML
17 lines
555 B
YAML
# Test-server overlay (Windows Server + Docker Desktop, or Docker in WSL).
|
|
# Your existing nginx reverse proxy terminates HTTPS and asks for a password;
|
|
# the app only listens on APP_BIND (default: all interfaces, port 8080).
|
|
# docker compose -f docker-compose.yml -f docker-compose.server.yml up -d --build
|
|
# See docker/TESTSERVER.md and docker/nginx-qloapps.conf.
|
|
|
|
services:
|
|
app:
|
|
ports: !override
|
|
- "${APP_BIND:-0.0.0.0:8080}:80"
|
|
environment:
|
|
QLO_SSL: ${QLO_SSL:-1}
|
|
restart: unless-stopped
|
|
|
|
db:
|
|
restart: unless-stopped
|