Instruction file imported from hoelsner/ticket-system-mock (
.github/instructions/production-test-instance.instructions.md). Copyright stays with the author.
Production Test Instance
- Prefer
scripts/setup_production_test_instance.bashwhen the task is to stand up a production-style local instance from a generated deployment bundle or from the default published image path. - The script stages the deployment bundle under
.tms-prod-test/, writes the local.env, resolvesWEBAPP_IMAGEfrombuild-metadata.envwhen present, falls back toWEBAPP_IMAGEfrom the environment when provided, then defaults tohoelsner/ticket-system-mock:latest. - When
WEBAPP_IMAGEpoints at a local-only tag such aslocalhost.local/..., the script skips pulling that webapp image and still pulls the supporting images. - The script starts the compose stack and validates the HTTPS entrypoint plus admin login.
- Default host ports are
8080for HTTP and8443for HTTPS. - The default verification path is
https://localhost:8443/and the predefined admin credentials areadmin/admin1234. - If the task is specifically about the published image path, keep the default image resolution unless the user explicitly asks to validate a locally built image bundle.