# 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. # # Speed: the code is baked into the image and copied into the volume "app_code" # (Linux filesystem) on every start. A bind mount from C:\ makes every page ~40x slower. # After "git pull": run the setup script again (rebuilds the image and restarts). services: app: build: context: . dockerfile: docker/Dockerfile.server ports: !override - "${APP_BIND:-0.0.0.0:8080}:80" volumes: !override - app_code:/var/www/html environment: QLO_SSL: ${QLO_SSL:-1} restart: unless-stopped db: restart: unless-stopped volumes: app_code: