mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-07-27 07:35:22 +00:00

This PR restructures testing scripts and Docker configurations to use centralized compose files, introduces new Docker Compose variants with integrated frontend services, and updates related CI workflows. Migrate test scripts to reference testing/compose files and streamline test flows with forced rebuilds and direct curl checks. Add ultra-lite, security, and security-with-login compose files under testing/compose, each defining both backend and frontend services. Rename and adjust frontend imports and update CI workflows to build and validate the frontend separately.
10 lines
304 B
Bash
10 lines
304 B
Bash
#!/bin/sh
|
|
|
|
# Set default backend URL if not provided
|
|
VITE_API_BASE_URL=${VITE_API_BASE_URL:-"http://backend:8080"}
|
|
|
|
# Replace the placeholder in nginx.conf with the actual backend URL
|
|
sed -i "s|\${VITE_API_BASE_URL}|${VITE_API_BASE_URL}|g" /etc/nginx/nginx.conf
|
|
|
|
# Start nginx
|
|
exec nginx -g "daemon off;" |