feat: update docker-compose and Nginx configuration for improved service dependencies and API routing
- Added 'depends_on' for the frontend service to ensure it starts after the backend service. - Updated Nginx configuration to proxy API and media requests to the backend, enhancing client access under the same host URL. - Included health check endpoint for backend service in Nginx configuration to monitor service status.
This commit is contained in:
1 parent
5215a2adc5
commit
60132e97e8
3 files changed
+35
-1
No files matched your search
@@ -18,5 +18,6 @@ jobs:
|
||||
docker compose build --no-cache
|
||||
docker compose up -d
|
||||
sleep 5
|
||||
curl -sf http://localhost:8003/api/version && echo "✓ PROD API healthy"
|
||||
curl -sf http://localhost:8003/api/version && echo "✓ PROD API (direkt) healthy"
|
||||
curl -sf http://localhost:3003/api/version && echo "✓ PROD API über Frontend-Nginx (wie Browser) healthy"
|
||||
echo "=== Shinkan PROD Deploy complete ==="
|
||||
Reference in new issue
Block a user