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:
Nawaz Dhandala
2026-03-03 17:51:47 +00:00
parent 4e8fde3b23
commit 3e5cd57082
35 changed files with 1466 additions and 41575 deletions

View File

@@ -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: