mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- 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.
101 lines
2.6 KiB
YAML
101 lines
2.6 KiB
YAML
# Images are pushed to both Docker Hub and Github Container Registry. If you're using Github Container Registry, you can change the image tag to use the Github Container Registry.
|
|
# For example, if you want to use the image from Github Container Registry, you can change the image tag from oneuptime/dashboard:latest to ghcr.io/oneuptime/dashboard:latest
|
|
|
|
x-common-depends-on: &common-depends-on
|
|
postgres:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
clickhouse:
|
|
condition: service_healthy
|
|
|
|
services:
|
|
|
|
redis:
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: redis
|
|
|
|
clickhouse:
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: clickhouse
|
|
|
|
postgres:
|
|
ports:
|
|
- "5400:5432" # for access to postgres for backups. If you don't need backup, you can comment this line out to make it more secure.
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: postgres
|
|
|
|
|
|
otel-collector:
|
|
image: oneuptime/otel-collector:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: otel-collector
|
|
|
|
app:
|
|
image: oneuptime/app:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: app
|
|
depends_on:
|
|
<<: *common-depends-on
|
|
|
|
worker:
|
|
image: oneuptime/worker:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: worker
|
|
depends_on:
|
|
<<: *common-depends-on
|
|
|
|
docs:
|
|
image: oneuptime/docs:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: docs
|
|
depends_on:
|
|
<<: *common-depends-on
|
|
|
|
workflow:
|
|
image: oneuptime/workflow:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: workflow
|
|
depends_on:
|
|
<<: *common-depends-on
|
|
|
|
probe-1:
|
|
image: oneuptime/probe:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: probe-1
|
|
depends_on:
|
|
<<: *common-depends-on
|
|
|
|
telemetry:
|
|
image: oneuptime/telemetry:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: telemetry
|
|
depends_on:
|
|
<<: *common-depends-on
|
|
|
|
ingress:
|
|
image: oneuptime/nginx:${APP_TAG}
|
|
extends:
|
|
file: ./docker-compose.base.yml
|
|
service: ingress
|
|
depends_on:
|
|
<<: *common-depends-on
|
|
|
|
volumes:
|
|
postgres:
|
|
clickhouse:
|
|
|
|
networks:
|
|
oneuptime:
|
|
driver: bridge
|