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
@@ -56,6 +56,8 @@ services:
|
||||
container_name: shinkan-ui
|
||||
ports:
|
||||
- "3003:80"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- shinkan-network
|
||||
|
||||
Reference in new issue
Block a user