mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Refactor frontend build and deployment scripts; consolidate services into a single app
- Updated package.json in StatusPage to correct dependency path for Common. - Enhanced main package.json with new scripts for building and watching frontend applications. - Modified tsconfig.json to exclude frontend directories from compilation. - Simplified Nginx configuration by removing individual upstreams for each service and routing all to a single app upstream. - Refactored configure.sh to streamline Dockerfile generation. - Cleaned up docker-compose files by consolidating services and removing unnecessary definitions. - Introduced new frontend handling logic in Index.ts for rendering different frontend applications. - Added utility functions for managing status page data and RSS feeds in StatusPage.ts. - Created dev.sh and frontend-run.sh scripts to facilitate development and build processes for frontend applications.
This commit is contained in:
@@ -35,38 +35,6 @@ services:
|
||||
file: ./docker-compose.base.yml
|
||||
service: otel-collector
|
||||
|
||||
accounts:
|
||||
image: oneuptime/accounts:${APP_TAG}
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: accounts
|
||||
depends_on:
|
||||
<<: *common-depends-on
|
||||
|
||||
dashboard:
|
||||
image: oneuptime/dashboard:${APP_TAG}
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: dashboard
|
||||
depends_on:
|
||||
<<: *common-depends-on
|
||||
|
||||
admin-dashboard:
|
||||
image: oneuptime/admin-dashboard:${APP_TAG}
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: admin-dashboard
|
||||
depends_on:
|
||||
<<: *common-depends-on
|
||||
|
||||
status-page:
|
||||
image: oneuptime/status-page:${APP_TAG}
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: status-page
|
||||
depends_on:
|
||||
<<: *common-depends-on
|
||||
|
||||
app:
|
||||
image: oneuptime/app:${APP_TAG}
|
||||
extends:
|
||||
|
||||
Reference in New Issue
Block a user